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.
| Name | Description | |
|---|---|---|
|
HttpRequestBase | Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class. |
| Name | Description | |
|---|---|---|
|
BinaryRead | When overridden in a derived class, performs a binary read of a specified number of bytes from the current input stream. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MapImageCoordinates | When overridden in a derived class, maps an incoming image-field form parameter to appropriate x-coordinate and y-coordinate values. |
|
MapPath | Overloaded. When overridden in a derived class, maps the virtual path in the requested URL to a physical path on the server. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SaveAs | When overridden in a derived class, saves an HTTP request to disk. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
ValidateInput | When overridden in a derived class, causes validation to occur for the collections that are accessed through the Cookies, Form, and QueryString properties. |
| Name | Description | |
|---|---|---|
|
AcceptTypes | When overridden in a derived class, gets an array of client-supported MIME accept types. |
|
AnonymousID | When overridden in a derived class, gets the anonymous identifier for the user, if it is available. |
|
ApplicationPath | When overridden in a derived class, gets the virtual root path of the ASP.NET application on the server. |
|
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"). |
|
Browser | When overridden in a derived class, gets information about the requesting client's browser capabilities. |
|
ClientCertificate | When overridden in a derived class, gets the current request's client security certificate. |
|
ContentEncoding | When overridden in a derived class, gets or sets the character set of the data that is provided by the client. |
|
ContentLength | When overridden in a derived class, gets the length, in bytes, of content that was sent by the client. |
|
ContentType | When overridden in a derived class, gets or sets the MIME content type of the request. |
|
Cookies | When overridden in a derived class, gets the collection of cookies that were sent by the client. |
|
CurrentExecutionFilePath | When overridden in a derived class, gets the virtual path of the current request. |
|
FilePath | When overridden in a derived class, gets the virtual path of the current request. |
|
Files | When overridden in a derived class, gets the collection of files that were uploaded by the client, in multipart MIME format. |
|
Filter | When overridden in a derived class, gets or sets the filter to use when the current input stream is being read. |
|
Form | When overridden in a derived class, gets the collection of form variables that were sent by the client. |
|
Headers | When overridden in a derived class, gets the collection of HTTP headers that were sent by the client. |
|
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. |
|
InputStream | When overridden in a derived class, gets the contents of the incoming HTTP entity body. |
|
IsAuthenticated | When overridden in a derived class, gets a value that indicates whether the request has been authenticated. |
|
IsLocal | When overridden in a derived class, gets a value that indicates whether the request is from the local computer. |
|
IsSecureConnection | When overridden in a derived class, gets a value that indicates whether the HTTP connection uses secure sockets (HTTPS protocol). |
|
Item | When overridden in a derived class, gets the specified object from the Cookies, Form, QueryString, or ServerVariables collections. |
|
LogonUserIdentity | When overridden in a derived class, gets the WindowsIdentity type for the current user. |
|
Params | When overridden in a derived class, gets a combined collection of QueryString, Form, ServerVariables, and Cookies items. |
|
Path | When overridden in a derived class, gets the virtual path of the current request. |
|
PathInfo | When overridden in a derived class, gets additional path information for a resource that has a URL extension. |
|
PhysicalApplicationPath | When overridden in a derived class, gets the physical file-system path of the current application's root directory. |
|
PhysicalPath | When overridden in a derived class, gets the physical file-system path of the requested resource. |
|
QueryString | When overridden in a derived class, gets the collection of HTTP query-string variables. |
|
RawUrl | When overridden in a derived class, gets the complete URL of the current request. |
|
RequestType | When overridden in a derived class, gets or sets the HTTP data-transfer method (GET or POST) that was used by the client. |
|
ServerVariables | When overridden in a derived class, gets a collection of Web server variables. |
|
TotalBytes | When overridden in a derived class, gets the number of bytes in the current input stream. |
|
Url | When overridden in a derived class, gets information about the URL of the current request. |
|
UrlReferrer | When overridden in a derived class, gets information about the URL of the client request that linked to the current URL. |
|
UserAgent | When overridden in a derived class, gets the complete user-agent string of the client. |
|
UserHostAddress | When overridden in a derived class, gets the IP host address of the client. |
|
UserHostName | When overridden in a derived class, gets the DNS name of the client. |
|
UserLanguages | When overridden in a derived class, gets a sorted array of client language preferences. |
Show: