Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpPostedFileWrapper Properties

HttpPostedFileWrapper Properties

The HttpPostedFileWrapper type exposes the following members.

  Name Description
Public property ContentLength Gets the size of an uploaded file, in bytes. (Overrides HttpPostedFileBase.ContentLength.)
Public property ContentType Gets the MIME content type of an uploaded file. (Overrides HttpPostedFileBase.ContentType.)
Public property FileName Gets the fully qualified name of the file on the client. (Overrides HttpPostedFileBase.FileName.)
Public property InputStream Gets a Stream object that points to an uploaded file to prepare for reading the contents of the file. (Overrides HttpPostedFileBase.InputStream.)
© 2015 Microsoft