HttpPostedFile Members

Provides access to individual files that have been uploaded by a client.

The following tables list the members exposed by the HttpPostedFile type.

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

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method SaveAs Saves the contents of an uploaded file.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)