Share via


System.Net Namespace

Supports network-related items such as endpoints, IP addresses, and hosts.

Classes

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

Interfaces

Name Description
Public Interface IWebProxy Provides the base interface for implementing proxy access for the WebRequest class.
Public Interface IWebRequestCreate The interface for creating WebRequest class objects.

Delegates

Name Description
Public Delegate HttpContinueDelegate Represents the method that notifies callers when a continue response is received by the client.

Enumerations

Name Description
Public Enumeration AuthenticationType Defines network authentication types.
Public Enumeration HttpStatusCode Contains the values of status codes defined for HTTP.
Public Enumeration WebExceptionStatus Defines status codes for the WebException class.