Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

HttpRequest Members

HttpRequest overview

Public Properties

public propertyAcceptTypes Gets a string array of client-supported MIME accept types.
public propertyApplicationPath Gets the ASP.NET application's virtual application root path on the server.
public propertyBrowser Gets information about the requesting client's browser capabilities.
public propertyClientCertificate Gets the current request's client security certificate.
public propertyContentEncoding Gets or sets the character set of the entity-body.
public propertyContentLength Specifies the length, in bytes, of content sent by the client.
public propertyContentType Gets or sets the MIME content type of the incoming request.
public propertyCookies Gets a collection of cookies sent by the client.
public propertyCurrentExecutionFilePath Gets the virtual path of the current request.
public propertyFilePath Gets the virtual path of the current request.
public propertyFiles Gets the collection of client-uploaded files (Multipart MIME format).
public propertyFilter Gets or sets the filter to use when reading the current input stream.
public propertyForm Gets a collection of form variables.
public propertyHeaders Gets a collection of HTTP headers.
public propertyHttpMethod Gets the HTTP data transfer method (such as GET, POST, or HEAD) used by the client.
public propertyInputStream Gets the contents of the incoming HTTP entity body.
public propertyIsAuthenticated Gets a value indicating whether the user has been authenticated.
public propertyIsSecureConnection Gets a value indicting whether the HTTP connection uses secure sockets (that is, HTTPS).
public propertyItem Gets the specified object in the Cookies, Form, QueryString or ServerVariables collections.

In C#, this property is the indexer for the HttpRequest class.

public propertyParams Gets a combined collection of QueryString, Form, ServerVariables, and Cookies items.
public propertyPath Gets the virtual path of the current request.
public propertyPathInfo Gets additional path information for a resource with a URL extension.
public propertyPhysicalApplicationPath Gets the physical file system path of the currently executing server application's root directory.
public propertyPhysicalPath Gets the physical file system path corresponding to the requested URL.
public propertyQueryString Gets the collection of HTTP query string variables.
public propertyRawUrl Gets the raw URL of the current request.
public propertyRequestType Gets or sets the HTTP data transfer method (GET or POST) used by the client.
public propertyServerVariables Gets a collection of Web server variables.
public propertyTotalBytes Gets the number of bytes in the current input stream.
public propertyUrl Gets Information about the URL of the current request.
public propertyUrlReferrer Gets information about the URL of the client's previous request that linked to the current URL.
public propertyUserAgent Gets the raw user agent string of the client browser.
public propertyUserHostAddress Gets the IP host address of the remote client.
public propertyUserHostName Gets the DNS name of the remote client.
public propertyUserLanguages Gets a sorted string array of client language preferences.

Public Methods

public methodBinaryRead Performs a binary read of a specified number of bytes from the current input stream.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodMapImageCoordinates Maps an incoming image-field form parameter to appropriate x/y coordinate values.
public methodMapPath Overloaded. Maps the virtual path in the requested URL to a physical path on the server for the current request.
public methodSaveAs Saves an HTTP request to disk.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodValidateInput Validates data submitted by a client browser and raises an exception if potentially dangerous data is present.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpRequest Class | System.Web Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.