System.Net Namespace
Supports network-related items such as endpoints, IP addresses, and hosts.
Classes
Name | Description | |
---|---|---|
Dns | Provides simple domain name resolution functionality. | |
EndPoint | Provides a constructor and methods for creating network connection points (endpoints) and serializing endpoint information. | |
HttpKnownHeaderNames | Contains known HTTP header names. | |
HttpListener | Provides a simple, programmatically controlled HTTP protocol listener. This class cannot be inherited. | |
HttpListenerContext | Provides access to the request and response objects used by the HttpListener class. This class cannot be inherited. | |
HttpListenerRequest | Describes an incoming HTTP request to an object. | |
HttpListenerResponse | Represents a response to a request being handled by an HttpListener object. | |
HttpVersion | Defines the HTTP version numbers that are supported by the HttpWebRequest and HttpWebResponse classes. | |
HttpWebRequest | Provides an HTTP-specific implementation of the System.Net.WebRequest class. | |
HttpWebResponse | Handles retrieval of HTTP Response headers, and handles data reads. | |
IPAddress | Provides members you can use when working with Internet Protocol (IP) addresses. | |
IPEndPoint | Represents a connection point (endpoint) on a network as an Internet Protocol (IP) address and a port number. | |
IPHostEntry | Constitutes a container class for information about an Internet host. | |
NetworkCredential | Holds the user name and password. | |
ProtocolViolationException | The exception that is thrown when an error is made while using a network protocol. | |
SocketAddress | Represents a network connection point (endpoint) in serialized form. More specifically, the SocketAddress class stores the endpoint's information in a serial format. | |
WebException | Defines the exception that is thrown by WebRequest instances when an error occurs. | |
WebHeaderCollection | Contains protocol headers associated with a request or response. Manages name-value pairs for HTTP headers. | |
WebProxy | Contains HTTP proxy settings for the WebRequest class. | |
WebRequest | Makes a request to a Uniform Resource Identifier (URI). This is an abstract class. | |
WebResponse | Provides a response from a Uniform Resource Identifier (URI). This is an abstract class. |
Interfaces
Name | Description | |
---|---|---|
IWebProxy | Provides the base interface for implementing proxy access for the WebRequest class. | |
IWebRequestCreate | The interface for creating WebRequest class objects. |
Delegates
Name | Description | |
---|---|---|
HttpContinueDelegate | Represents the method that notifies callers when a continue response is received by the client. |
Enumerations
Name | Description | |
---|---|---|
AuthenticationType | Defines network authentication types. | |
HttpStatusCode | Contains the values of status codes defined for HTTP. | |
WebExceptionStatus | Defines status codes for the WebException class. |