Namespace: System.Net

The System.Net namespace provides a simple programming interface for many of the protocols used on networks today. The WebRequest and WebResponse classes form the basis of what are called pluggable protocols, an implementation of network services that enables you to develop applications that use Internet resources without worrying about the specific details of the individual protocols.

Members of System.Net Namespace

Classes
Class Description
class AuthenticationManager Manages the authentication modules called during the client authentication process. 
class Authorization Contains an authentication message for an Internet server. 
class Cookie Provides a set of properties and methods used to manage cookies. This class cannot be inherited. 
class CookieCollection Provides a collection container for instances of the Cookie class. 
class CookieContainer Provides a container for a collection of CookieCollection objects. 
class CookieException The exception that is thrown when an error is made adding a Cookie to a CookieContainer
class CredentialCache Provides storage for multiple credentials. 
class Dns Provides simple domain name resolution functionality. 
class DnsPermission Controls rights to access Domain Name System (DNS) servers on the network. 
class DnsPermissionAttribute Specifies permission to request information from Domain Name Servers. 
class EndPoint Identifies a network address. This is an class. 
class EndpointPermission Defines an endpoint that is authorized by a SocketPermission instance. 
class FileWebRequest Provides a file system implementation of the WebRequest class. 
class FileWebResponse Provides a file system implementation of the WebResponse class. 
class GlobalProxySelection Contains a global default proxy instance for all HTTP requests. 
class HttpVersion Defines the HTTP version numbers supported by the HttpWebRequest and HttpWebResponse classes. 
class HttpWebRequest Provides an HTTP-specific implementation of the WebRequest class. 
class HttpWebResponse Provides an HTTP-specific implementation of the WebResponse class. 
class IPAddress Provides an Internet Protocol (IP) address. 
class IPEndPoint Represents a network endpoint as an IP address and a port number. 
class IPHostEntry Provides a container class for Internet host address information. 
class NetworkCredential Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. 
class ProtocolViolationException The exception that is thrown when an error is made while using a network protocol. 
class ServicePoint Provides connection management for HTTP connections. 
class ServicePointManager Manages the collection of ServicePoint instances. 
class SocketAddress Stores serialized information from EndPoint derived classes. 
class SocketPermission Controls rights to make or accept connections on a transport address. 
class SocketPermissionAttribute Specifies security actions to control Socket connections. This class cannot be inherited. 
class WebClient Provides common methods for sending data to and receiving data from a resource identified by a URI. This class cannot be inherited. 
class WebException The exception that is thrown when an error occurs while accessing the network through a pluggable protocol. 
class WebHeaderCollection Contains protocol headers associated with a request or response. 
class WebPermission Controls rights to access an HTTP Internet resources. 
class WebPermissionAttribute Specifies permission to access Internet resources. This class cannot be inherited. 
class WebProxy Contains HTTP proxy settings for the WebRequest class. 
class WebRequest Makes a request to a Uniform Resource Identifier (URI). This is an class. 
class WebResponse Provides a response from a Uniform Resource Identifier (URI). This is an class. 

Interfaces
Interface Description
interface IAuthenticationModule Provides the base authentication interface for Web client authentication modules. 
interface ICredentials Provides the base authentication interface for retrieving credentials for Web client authentication. 
interface IWebProxy Provides the base interface for implementation of proxy access for the WebRequest class. 
interface IWebRequestCreate Provides the base interface for creating WebRequest instances. 

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

Enumerations
Enumeration Description
enumeration HttpStatusCode Contains the values of status codes defined for HTTP. 
enumeration NetworkAccess Specifies network access permissions. 
enumeration TransportType Defines transport types for the SocketPermission and Socket classes. 
enumeration WebExceptionStatus Defines status codes for the WebException class. 

Namepace hierarchy

Copyright (c) 2002 Microsoft Corporation. All rights reserved.