Table of Contents

Class FileInfo

Namespace
BoldSign.Api.Model
Assembly
BoldSign.Api.dll

FileInfo.

[DataContract]
public class FileInfo
Inheritance
FileInfo
Inherited Members

Constructors

FileInfo()

Initializes a new instance of the FileInfo class.

[JsonConstructor]
protected FileInfo()

FileInfo(string, int, string, string)

Initializes a new instance of the FileInfo class.

public FileInfo(string fileName = null, int fileSize = 0, string contentType = null, string extension = null)

Parameters

fileName string

fileName.

fileSize int

fileSize.

contentType string

contentType.

extension string

extension.

Properties

ContentType

Gets or sets the content type.

[DataMember(Name = "contentType", EmitDefaultValue = true)]
public string ContentType { get; set; }

Property Value

string

Extension

Gets or sets the extension.

[DataMember(Name = "extension", EmitDefaultValue = true)]
public string Extension { get; set; }

Property Value

string

FileName

Gets or sets the file name.

[DataMember(Name = "fileName", EmitDefaultValue = true)]
public string FileName { get; set; }

Property Value

string

FileSize

Gets or sets the file size.

[DataMember(Name = "fileSize", EmitDefaultValue = false)]
public int FileSize { get; set; }

Property Value

int