This documentation is archived and is not being maintained.
HttpRequestBase Properties
Visual Studio 2008
The HttpRequestBase type exposes the following members.
| 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: