C# Class Headless.PostFileEntry

The PostFileEntry class is used to provide the information for posting file data.
Inheritance: PostEntry
显示文件 Open project: roryprimrose/Headless

Public Methods

Method 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 method

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. ///
return System.IO

ReadContent() public method

Reads the content of the file.
public ReadContent ( ) : Stream
return System.IO.Stream