C# Class Nexus.Client.Util.Downloader.FileMetadata

Describes a file that is to be downloaded.
This is simply a friendly representation of the HTTP headers of the file.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
FileMetadata ( ) : System

The default constructor.

This builds a file meatadata object for a file that doesn't exist.

FileMetadata ( WebHeaderCollection p_whcFileHeader ) : System

A simple constructor that initializes the object with the given values.

Private Methods

Méthode Description
Initialize ( WebHeaderCollection p_whcFileHeader ) : void

Loads the file metadata from the given HTTP headers.

Method Details

FileMetadata() public méthode

The default constructor.
This builds a file meatadata object for a file that doesn't exist.
public FileMetadata ( ) : System
Résultat System

FileMetadata() public méthode

A simple constructor that initializes the object with the given values.
public FileMetadata ( WebHeaderCollection p_whcFileHeader ) : System
p_whcFileHeader System.Net.WebHeaderCollection The file's HTTP headers.
Résultat System