Class FileInfo
FileInfo.
Inheritance
System.Object
FileInfo
Namespace: BoldSign.Api.Model
Assembly: BoldSign.Api.dll
Syntax
public class FileInfo : object
Constructors
| Improve this Doc View SourceFileInfo()
Initializes a new instance of the FileInfo class.
Declaration
protected FileInfo()
FileInfo(String, Int32, String, String)
Initializes a new instance of the FileInfo class.
Declaration
public FileInfo(string fileName = null, int fileSize = null, string contentType = null, string extension = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | fileName. |
System.Int32 | fileSize | fileSize. |
System.String | contentType | contentType. |
System.String | extension | extension. |
Properties
| Improve this Doc View SourceContentType
Gets or sets the content type.
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Extension
Gets or sets the extension.
Declaration
public string Extension { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Gets or sets the file name.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileSize
Gets or sets the file size.
Declaration
public int FileSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |