Export (0) Print
Expand All
4 out of 7 rated this helpful - Rate this topic

System.Net Namespace

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.

Namespace hierarchy

Classes

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

Interfaces

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

Delegates

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

Enumerations

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

See Also

.NET Framework Class Library

Show:
© 2014 Microsoft. All rights reserved.