This documentation is archived and is not being maintained.

HttpRequestBase Members

Visual Studio 2008

Serves as the base class for classes that enable ASP.NET to read the HTTP values sent by a client during a Web request.

The HttpRequestBase type exposes the following members.

  NameDescription
Protected method HttpRequestBase Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class.
Top

  NameDescription
Public method BinaryRead When overridden in a derived class, performs a binary read of a specified number of bytes from the current input stream.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method MapImageCoordinates When overridden in a derived class, maps an incoming image-field form parameter to appropriate x-coordinate and y-coordinate values.
Public method MapPath Overloaded. When overridden in a derived class, maps the virtual path in the requested URL to a physical path on the server.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SaveAs When overridden in a derived class, saves an HTTP request to disk.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateInput When overridden in a derived class, causes validation to occur for the collections that are accessed through the Cookies, Form, and QueryString properties.
Top

  NameDescription
Public property AcceptTypes When overridden in a derived class, gets an array of client-supported MIME accept types.
Public property AnonymousID When overridden in a derived class, gets the anonymous identifier for the user, if it is available.
Public property ApplicationPath When overridden in a derived class, gets the virtual root path of the ASP.NET application on the server.
Public property AppRelativeCurrentExecutionFilePath When overridden in a derived class, gets the virtual path of the application root and makes it relative by using the tilde (~) notation for the application root (as in "~/page.aspx").
Public property Browser When overridden in a derived class, gets information about the requesting client's browser capabilities.
Public property ClientCertificate When overridden in a derived class, gets the current request's client security certificate.
Public property ContentEncoding When overridden in a derived class, gets or sets the character set of the data that is provided by the client.
Public property ContentLength When overridden in a derived class, gets the length, in bytes, of content that was sent by the client.
Public property ContentType When overridden in a derived class, gets or sets the MIME content type of the request.
Public property Cookies When overridden in a derived class, gets the collection of cookies that were sent by the client.
Public property CurrentExecutionFilePath When overridden in a derived class, gets the virtual path of the current request.
Public property FilePath When overridden in a derived class, gets the virtual path of the current request.
Public property Files When overridden in a derived class, gets the collection of files that were uploaded by the client, in multipart MIME format.
Public property Filter When overridden in a derived class, gets or sets the filter to use when the current input stream is being read.
Public property Form When overridden in a derived class, gets the collection of form variables that were sent by the client.
Public property Headers When overridden in a derived class, gets the collection of HTTP headers that were sent by the client.
Public property HttpMethod When overridden in a derived class, gets the HTTP data-transfer method (such as GET, POST, or HEAD) that was used by the client.
Public property InputStream When overridden in a derived class, gets the contents of the incoming HTTP entity body.
Public property IsAuthenticated When overridden in a derived class, gets a value that indicates whether the request has been authenticated.
Public property IsLocal When overridden in a derived class, gets a value that indicates whether the request is from the local computer.
Public property IsSecureConnection When overridden in a derived class, gets a value that indicates whether the HTTP connection uses secure sockets (HTTPS protocol).
Public property Item When overridden in a derived class, gets the specified object from the Cookies, Form, QueryString, or ServerVariables collections.
Public property LogonUserIdentity When overridden in a derived class, gets the WindowsIdentity type for the current user.
Public property Params When overridden in a derived class, gets a combined collection of QueryString, Form, ServerVariables, and Cookies items.
Public property Path When overridden in a derived class, gets the virtual path of the current request.
Public property PathInfo When overridden in a derived class, gets additional path information for a resource that has a URL extension.
Public property PhysicalApplicationPath When overridden in a derived class, gets the physical file-system path of the current application's root directory.
Public property PhysicalPath When overridden in a derived class, gets the physical file-system path of the requested resource.
Public property QueryString When overridden in a derived class, gets the collection of HTTP query-string variables.
Public property RawUrl When overridden in a derived class, gets the complete URL of the current request.
Public property RequestType When overridden in a derived class, gets or sets the HTTP data-transfer method (GET or POST) that was used by the client.
Public property ServerVariables When overridden in a derived class, gets a collection of Web server variables.
Public property TotalBytes When overridden in a derived class, gets the number of bytes in the current input stream.
Public property Url When overridden in a derived class, gets information about the URL of the current request.
Public property UrlReferrer When overridden in a derived class, gets information about the URL of the client request that linked to the current URL.
Public property UserAgent When overridden in a derived class, gets the complete user-agent string of the client.
Public property UserHostAddress When overridden in a derived class, gets the IP host address of the client.
Public property UserHostName When overridden in a derived class, gets the DNS name of the client.
Public property UserLanguages When overridden in a derived class, gets a sorted array of client language preferences.
Top
Show: