System.Web.HttpPostedFile Members

The members of System.Web.HttpPostedFile are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
ContentLengthint.

Gets the size of an uploaded file, in bytes.

[read-only]
ContentTypestring.

Gets the MIME content type of a file sent by a client.

[read-only]
FileNamestring.

Gets the fully qualified name of the file on the client.

[read-only]
InputStreamSystem.IO.Stream.

Gets a System.IO.Stream object that points to an uploaded file to prepare for reading the contents of the file.

Public Methods

SaveAs(string)

Saves the contents of an uploaded file.