Export (0) Print
Expand All

HttpRequest Methods

The HttpRequest type exposes the following members.

  Name Description
Public method Abort Forcibly terminates the underlying TCP connection, causing any outstanding I/O to fail. You might use this method in response to an attack by a malicious HTTP client.
Public method BinaryRead Performs a binary read of a specified number of bytes from the current input stream.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetBufferedInputStream Gets a Stream object that can be used to read the incoming HTTP entity body.
Public method GetBufferlessInputStream() Gets a Stream object that can be used to read the incoming HTTP entity body.
Public method GetBufferlessInputStream(Boolean) Gets a Stream object that can be used to read the incoming HTTP entity body, optionally disabling the request-length limit that is set in the MaxRequestLength property.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertEntityBody() Provides IIS with a copy of the HTTP request entity body.
Public method InsertEntityBody(Byte[], Int32, Int32) Provides IIS with a copy of the HTTP request entity body and with information about the request entity object.
Public method MapImageCoordinates Maps an incoming image-field form parameter to appropriate x-coordinate and y-coordinate values.
Public method MapPath(String) Maps the specified virtual path to a physical path.
Public method MapPath(String, String, Boolean) Maps the specified virtual path to a physical path.
Public method MapRawImageCoordinates Maps an incoming image field form parameter into appropriate x and y coordinate values.
Public method SaveAs Saves an HTTP request to disk.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateInput Causes validation to occur for the collections accessed through the Cookies, Form, and QueryString properties.
Top
Show:
© 2014 Microsoft