Sisk

Constructor

FileContent constructor

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

FileContent(FileInfo) #

Initializes a new instance of the FileContent class with the specified file.

C#
public FileContent(FileInfo file)

Parameters #

file FileInfo

The file to be used as content.

FileContent(string) #

Initializes a new instance of the FileContent class with the specified file path.

C#
public FileContent(string filePath)

Parameters #

filePath string

The path to the file to be used as content.

Type to search the documentation and the API reference.