A response from a Uniform Resource Indentifier (URI). This is an abstract class.
Object
WebResponse
[Visual Basic] MustInherit Public Class WebResponse [C#] public abstract class WebResponse [C++] public __gc __abstract class WebResponse [JScript] public abstract class WebResponse
The WebResponse class is an abstract base class from which protocol-specific classes are derived. Applications can use the WebResponse class to handle responses in a protocol-agnostic manner. The WebResponse class can be used to access any resource on the network that is addressable with a Uniform Resource Identifier (URI), such as http://www.microsoft.com/ .
Client applications should never create WebResponse objects directly, they should be created by calling the GetResponse method on a WebRequest instance.
Notes to Inheritors: When you inherit from WebResponse, you must override the following members: Status, StatusDescription, ContentLength, ContentType, GetResponseStream, ResponseURI, and Headers.
Namespace: System.Net
Assembly: System.net.dll