This documentation is archived and is not being maintained.
HttpRequest Members
.NET Framework 1.1
Public Properties
AcceptTypes | Gets a string array of client-supported MIME accept types. |
ApplicationPath | Gets the ASP.NET application's virtual application root path on the server. |
Browser | Gets information about the requesting client's browser capabilities. |
ClientCertificate | Gets the current request's client security certificate. |
ContentEncoding | Gets or sets the character set of the entity-body. |
ContentLength | Specifies the length, in bytes, of content sent by the client. |
ContentType | Gets or sets the MIME content type of the incoming request. |
Cookies | Gets a collection of cookies sent by the client. |
CurrentExecutionFilePath | Gets the virtual path of the current request. |
FilePath | Gets the virtual path of the current request. |
Files | Gets the collection of client-uploaded files (Multipart MIME format). |
Filter | Gets or sets the filter to use when reading the current input stream. |
Form | Gets a collection of form variables. |
Headers | Gets a collection of HTTP headers. |
HttpMethod | Gets the HTTP data transfer method (such as GET, POST, or HEAD) used by the client. |
InputStream | Gets the contents of the incoming HTTP entity body. |
IsAuthenticated | Gets a value indicating whether the user has been authenticated. |
IsSecureConnection | Gets a value indicting whether the HTTP connection uses secure sockets (that is, HTTPS). |
Item | Gets the specified object in the Cookies, Form, QueryString or ServerVariables collections.
In C#, this property is the indexer for the HttpRequest class. |
Params | Gets a combined collection of QueryString, Form, ServerVariables, and Cookies items. |
Path | Gets the virtual path of the current request. |
PathInfo | Gets additional path information for a resource with a URL extension. |
PhysicalApplicationPath | Gets the physical file system path of the currently executing server application's root directory. |
PhysicalPath | Gets the physical file system path corresponding to the requested URL. |
QueryString | Gets the collection of HTTP query string variables. |
RawUrl | Gets the raw URL of the current request. |
RequestType | Gets or sets the HTTP data transfer method (GET or POST) used by the client. |
ServerVariables | Gets a collection of Web server variables. |
TotalBytes | Gets the number of bytes in the current input stream. |
Url | Gets Information about the URL of the current request. |
UrlReferrer | Gets information about the URL of the client's previous request that linked to the current URL. |
UserAgent | Gets the raw user agent string of the client browser. |
UserHostAddress | Gets the IP host address of the remote client. |
UserHostName | Gets the DNS name of the remote client. |
UserLanguages | Gets a sorted string array of client language preferences. |
Public Methods
BinaryRead | Performs a binary read of a specified number of bytes from the current input stream. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetHashCode (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. |
GetType (inherited from Object) | Gets the Type of the current instance. |
MapImageCoordinates | Maps an incoming image-field form parameter to appropriate x/y coordinate values. |
MapPath | Overloaded. Maps the virtual path in the requested URL to a physical path on the server for the current request. |
SaveAs | Saves an HTTP request to disk. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
ValidateInput | Validates data submitted by a client browser and raises an exception if potentially dangerous data is present. |
Protected Methods
Finalize (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. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:


