Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.GetResponse Method |
Returns a response to an Internet request. [Edit]
|
A System.Net.WebResponse containing the response from the Internet resource requested by the current instance. [Edit]
Type Reason System.Net.ProtocolViolationException The HttpWebRequest.ContentLength property of the current instance is not set. [Edit] System.Net.WebException HttpWebRequest.Abort was previously called.
-or-
The timeout period for the request expired.
-or-
An error occurred while processing the request.
[Edit]
Note:[Edit]This method returns a System.Net.WebResponse instance containing the response from the Internet resource requested by the current instance. The actual instance returned is an instance of System.Net.HttpWebResponse , and can be typecast to that class to access HTTP-specific properties.
This method overrides WebRequest.GetResponse .
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0