Share via


System.Net Namespace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Classes

  Class Description
Public class Dns Provides simple domain name resolution functionality.
Public class EndPoint Identifies a network address. This is an abstract class.
Public class FTPCommand Represents an FTP command.
Public class FtpWebRequest Implements a File Transfer Protocol (FTP) client.
Public class FtpWebResponse Encapsulates a File Transfer Protocol (FTP) server's response to a request.
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 HttpListener object. This class cannot be inherited.
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 WebRequest class.
Public class HttpWebResponse Provides an HTTP-specific implementation of the WebResponse class.
Public class IPAddress Provides an Internet Protocol (IP) address.
Public class IPEndPoint Represents a network endpoint as an IP address and a port number.
Public class IPHostEntry Provides a container class for Internet host address information.
Public class NetworkCredential Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication.
Public class ProtocolViolationException The exception that is thrown when an error is made while using a network protocol.
Public class SocketAddress Stores serialized information from EndPoint derived classes.
Public class WebException The exception that is thrown when an error occurs while accessing the network through a pluggable protocol.
Public class WebHeaderCollection Contains protocol headers associated with a request or response.
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 WebRequestMethods Container class for WebRequestMethods..::..Ftp, File, and Http classes. This class cannot be inherited
Public class WebRequestMethods. . :: . .Ftp Represents the types of FTP protocol methods that can be used with an FTP request. This class cannot be inherited.
Public class WebResponse Provides a response from a Uniform Resource Identifier (URI). This is an abstract class.

Interfaces

  Interface Description
Public interface IWebProxy Provides the base interface for implementation of proxy access for the WebRequest class.
Public interface IWebRequestCreate Provides the base interface for creating WebRequest instances.

Delegates

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

Enumerations

  Enumeration Description
Public enumeration AuthenticationType Defines network authentication types.
Public enumeration FtpStatusCode Specifies the status codes returned for a File Transfer Protocol (FTP) operation.
Public enumeration HttpStatusCode Contains the values of status codes defined for HTTP.
Public enumeration WebExceptionStatus Defines status codes for the WebException class.