This documentation is for the old version. Go to the latest Upload Suite docs

SourceFileInfo Members

The SourceFileInfo type exposes the following members.

Methods

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSafeFileName

Returns a safe file name for the file if it would be saved to dirPath folder.

(Inherited from BaseFileInfo.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Save

Saves file to the specified path.

(Inherited from BaseFileInfo.)
Public method SaveToFolder Overloaded.
Public method ToString (Inherited from Object.)
Public method ValidateHashCodeMD5

Compares HashCodeMD5 value and MD5 hash code calculated for the source file server-side.

Public method ValidateHashCodeSHA

Compares HashCodeSHA value and SHA hash code calculated for the source file server-side.

Properties

Name Description
Public property ContentLength

Gets the Content-length HTTP header.

(Inherited from BaseFileInfo.)
Public property ContentType

Gets the value of the Content-type HTTP header.

(Inherited from BaseFileInfo.)
Public property CreatedDateTime

Gets creation date of the source file.

Public property FileName

Gets name of the file.

(Inherited from BaseFileInfo.)
Public property FileSize

Gets size of the source file.

(Overrides BaseFileInfo.FileSize.)
Public property HashCodeMD2

Gets MD2 hash value calculated for the source file.

Public property HashCodeMD5

Gets MD5 hash value calculated for the source file.

Public property HashCodeSHA

Gets SHA hash value calculated for the source file.

Public property Height

Gets height of the source file.

(Overrides BaseFileInfo.Height.)
Public property HorizontalResolution

Gets horizontal resolution of the source file.

Public property InputStream

Gets the Stream that represents the file.

(Inherited from BaseFileInfo.)
Public property ModifiedDateTime

Gets last modification date of the source file.

Public property VerticalResolution

Gets vertical resolution of the source file.

Public property Width

Gets width of the source file.

(Overrides BaseFileInfo.Width.)

See Also

Reference