NeatUpload Documentation

SqlServerUploadedFile Members

SqlServerUploadedFile overview

Public Static Methods

ToHex Converts a byte array to a hexadecimal string

Public Instance Constructors

SqlServerUploadedFile Constructor

Public Instance Fields

ContentType (inherited from UploadedFile) The MIME content type sent by the browser.
ControlUniqueID (inherited from UploadedFile) The UniqueID of the control used to upload the file.
FileName (inherited from UploadedFile) The filename sent by the browser, without any path.
TmpFile (inherited from UploadedFile) If the file is stored on disk, the corresponding FileInfo object.

Public Instance Properties

ContentLength Gets the size of the uploaded file in bytes
Hash The cryptographic hash of the uploaded file.
HashName Name of hash algorithm used
HashSize The length of the of the cryptographic hash in bits.
Identity Returns generated identity value if data was written to a table with an IDENTITY-column
InputStream (inherited from UploadedFile) A readable Stream on the uploaded file.
IsUploaded Returns wether a file was uploaded into this object

Public Instance Methods

CreateStream 
Dispose 
Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
MoveTo If called, this stream is considered "verified" and is allowed to stay in the datadase. If this is never called, the row is deleted
OpenRead Opens the newly created file for reading
SaveAs (inherited from UploadedFile) Equivalent to
MoveTo(path, MoveToOptions.Overwrite)
ToString (inherited from Object) 
Verify If called this file is considered verified and is allowed to stay in the database.

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

SqlServerUploadedFile Class | Hitone.Web.SqlServerUploader Namespace