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

HttpRequestBase Properties

The HttpRequestBase type exposes the following members.

  Name Description
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 CurrentExecutionFilePathExtension When implemented in a derived class, gets the extension of the file name that is specified in the CurrentExecutionFilePath property.
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 HttpChannelBinding When overridden in a derived class, gets the ChannelBinding object of the current HttpWorkerRequest instance.
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 ReadEntityBodyMode When implemented in a derived class, gets a value that indicates whether the request entity body has been read, and if so, how it was read.
Public property RequestContext When overridden in a derived class, gets the RequestContext instance 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 TimedOutToken When implemented in a derived class, gets a CancellationToken object that is tripped when a request times out.
Public property TlsTokenBindingInfo Gets or sets the token binding information for this instance.
Public property TotalBytes When overridden in a derived class, gets the number of bytes in the current input stream.
Public property Unvalidated When implemented in a derived class, provides access to HTTP request values without triggering request validation.
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:
© 2015 Microsoft