This documentation is archived and is not being maintained.

HttpPostedFile Properties

The properties of the HttpPostedFile class are listed here. For a complete list of HttpPostedFile class members, see the HttpPostedFile Members topic.

Public Properties

public propertyContentLength Gets the size in bytes of an uploaded file.
public propertyContentType Gets the MIME content type of a file sent by a client.
public propertyFileName Gets the fully-qualified name of the file on the client's computer (for example "C:\MyFiles\Test.txt").
public propertyInputStream Gets a Stream object which points to an uploaded file to prepare for reading the contents of the file.

See Also

HttpPostedFile Class | System.Web Namespace

Show: