C# Class Headless.PostFileEntry

The PostFileEntry class is used to provide the information for posting file data.
Inheritance: PostEntry
Afficher le fichier Open project: roryprimrose/Headless

Méthodes publiques

Méthode Description
PostFileEntry ( string name, string filePath ) : System.IO

Initializes a new instance of the PostFileEntry class.

The filePath parameter must contain the absolute file path for the file file.

ReadContent ( ) : Stream

Reads the content of the file.

Method Details

PostFileEntry() public méthode

Initializes a new instance of the PostFileEntry class.
The filePath parameter must contain the absolute file path for the file file.
public PostFileEntry ( string name, string filePath ) : System.IO
name string /// The name. ///
filePath string /// The file path. ///
Résultat System.IO

ReadContent() public méthode

Reads the content of the file.
public ReadContent ( ) : Stream
Résultat System.IO.Stream