NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpRequest Members

Public:

Constructor

HttpRequest Constructor Initializes an HttpRequest object.

Properties

AcceptTypes String array of client-supported MIME accept types.
ApplicationPath Virtual path to the currently executing server application.
ApplicationPoolID Gets the application pool ID for the current URL.
Browser Provides information about incoming client's browser capabilities.
ClientCertificate Gets information on the current request's client security certificate.
ConnectionID Gets the connection ID of the current request.
ContentEncoding Character set of data supplied by client.
ContentType MIME content type of incoming request.
Cookies Gets a collection of client's cookie variables.
FilePath Gets the virtual path of the current request.
Files Gets the collection of client-uploaded files (Multipart MIME format).
Filter Gets or sets a filter to use when reading the current input stream.
Form Gets a collection of Forms.
Headers Gets a collection of HTTP headers.
HttpMethod HTTP data transfer method used by client (GET, POST).
InputStream Provides access to the raw contents of the incoming HTTP entity body.
IsAuthenticated Gets a value that indicates whether the HTTP connection is authenticated.
IsSecureConnection Indicates whether the HTTP connection is secure (that is, HTTPS).
Item Default property that indexes through the collections: QueryString, Form, Cookies, ClientCertificate and ServerVariables

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

Params Combined collection of QueryString+Form+ ServerVariable+Cookies.
Path Gets the virtual path of current request.
PathInfo Gets additional path information that follows a resource with URL extension.
PhysicalApplicationPath Gets the physical file system path of currently executing server application.
PhysicalPath Gets the physical path file system path corresponding to the requested URL.
QueryString Gets the collection of QueryString variables.
RawUrl Gets the current request's raw URL.
RequestType HTTP data transfer method used by client (GET, POST).
SecurityCertificate Gets information on client security certificate.
ServerVariables Gets a collection of web server variables.
TotalBytes Gets number of bytes in current input stream.
Url Gets Information regarding URL of current request.
UrlReferrer Gets info regarding the URL of the previous request (that linked to the current URL).
UserAgent Gets the client browser's raw User Agent String.
UserHostAddress Gets the IP host address of remote client.
UserHostName Gets the DNS name of remote client.
UserLanguages Gets a sorted array of client language preferences.

Methods

BinaryRead Performs a binary read of a specified number of bytes from the current input stream.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
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 Object.
MapImageCoordinates Maps an incoming image field form parameter into appropriate x/y coordinate values.
MapPath Overloaded. Maps virtual path (in requested URL) to physical path on server for current request.
SaveAs Saves an HTTP request to disk.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpRequest Class | System.Web Namespace