System.Net
TOC
Collapse the table of content
Expand the table of content

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.

Classes in the System.Net namespace can be used to develop Windows Store apps or desktop apps. When used in a Windows Store app, classes in the System.Net namespace are affected by network isolation feature, part of the application security model used by the Windows Developer Preview. The appropriate network capabilities must be enabled in the app manifest for a Windows Store app for the system to allow network access by a Windows Store app. For more information, see the Network Isolation for Windows Store Apps.

ClassDescription
System_CAPS_pubclassAuthenticationManager

Manages the authentication modules called during the client authentication process.

System_CAPS_pubclassAuthorization

Contains an authentication message for an Internet server.

System_CAPS_pubclassCookie

Provides a set of properties and methods that are used to manage cookies. This class cannot be inherited.

System_CAPS_pubclassCookieCollection

Provides a collection container for instances of the Cookie class.

System_CAPS_pubclassCookieContainer

Provides a container for a collection of CookieCollection objects.

System_CAPS_pubclassCookieException

The exception that is thrown when an error is made adding a Cookie to a CookieContainer.

System_CAPS_pubclassCredentialCache

Provides storage for multiple credentials.

System_CAPS_pubclassDns

Provides simple domain name resolution functionality.

System_CAPS_pubclassDnsEndPoint

Represents a network endpoint as a host name or a string representation of an IP address and a port number.

System_CAPS_pubclassDnsPermission

Controls rights to access Domain Name System (DNS) servers on the network.

System_CAPS_pubclassDnsPermissionAttribute

Specifies permission to request information from Domain Name Servers.

System_CAPS_pubclassDownloadDataCompletedEventArgs

Provides data for the DownloadDataCompleted event.

System_CAPS_pubclassDownloadProgressChangedEventArgs

Provides data for the DownloadProgressChanged event of a WebClient.

System_CAPS_pubclassDownloadStringCompletedEventArgs

Provides data for the DownloadStringCompleted event.

System_CAPS_pubclassEndPoint

Identifies a network address. This is an abstract class.

System_CAPS_pubclassEndpointPermission

Defines an endpoint that is authorized by a SocketPermission instance.

System_CAPS_pubclassWebRequestMethods.File

Represents the types of file protocol methods that can be used with a FILE request. This class cannot be inherited.

System_CAPS_pubclassFileWebRequest

Provides a file system implementation of the WebRequest class.

System_CAPS_pubclassFileWebResponse

Provides a file system implementation of the WebResponse class.

System_CAPS_pubclassWebRequestMethods.Ftp

Represents the types of FTP protocol methods that can be used with an FTP request. This class cannot be inherited.

System_CAPS_pubclassFtpWebRequest

Implements a File Transfer Protocol (FTP) client.

System_CAPS_pubclassFtpWebResponse

Encapsulates a File Transfer Protocol (FTP) server's response to a request.

System_CAPS_pubclassGlobalProxySelection

Obsolete.Contains a global default proxy instance for all HTTP requests.

System_CAPS_pubclassWebRequestMethods.Http

Represents the types of HTTP protocol methods that can be used with an HTTP request.

System_CAPS_pubclassHttpListener

Provides a simple, programmatically controlled HTTP protocol listener. This class cannot be inherited.

System_CAPS_pubclassHttpListenerBasicIdentity

Holds the user name and password from a basic authentication request.

System_CAPS_pubclassHttpListenerContext

Provides access to the request and response objects used by the HttpListener class. This class cannot be inherited.

System_CAPS_pubclassHttpListenerException

The exception that is thrown when an error occurs processing an HTTP request.

System_CAPS_pubclassHttpListenerPrefixCollection

Represents the collection used to store Uniform Resource Identifier (URI) prefixes for HttpListener objects.

System_CAPS_pubclassHttpListenerRequest

Describes an incoming HTTP request to an HttpListener object. This class cannot be inherited.

System_CAPS_pubclassHttpListenerResponse

Represents a response to a request being handled by an HttpListener object.

System_CAPS_pubclassHttpListenerTimeoutManager

The timeout manager to use for an HttpListener object.

System_CAPS_pubclassHttpVersion

Defines the HTTP version numbers that are supported by the HttpWebRequest and HttpWebResponse classes.

System_CAPS_pubclassHttpWebRequest

Provides an HTTP-specific implementation of the WebRequest class.

System_CAPS_pubclassHttpWebResponse

Provides an HTTP-specific implementation of the WebResponse class.

System_CAPS_pubclassIPAddress

Provides an Internet Protocol (IP) address.

System_CAPS_pubclassIPEndPoint

Represents a network endpoint as an IP address and a port number.

System_CAPS_pubclassIPEndPointCollection

Represents a collection used to store network endpoints as IPEndPoint objects.

System_CAPS_pubclassIPHostEntry

Provides a container class for Internet host address information.

System_CAPS_pubclassNetworkCredential

Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication.

System_CAPS_pubclassNetworkProgressChangedEventArgs

Obsolete.Provides data for the network progress changed event.

System_CAPS_pubclassOpenReadCompletedEventArgs

Provides data for the OpenReadCompleted event.

System_CAPS_pubclassOpenWriteCompletedEventArgs

Provides data for the OpenWriteCompleted event.

System_CAPS_pubclassProtocolViolationException

The exception that is thrown when an error is made while using a network protocol.

System_CAPS_pubclassServicePoint

Provides connection management for HTTP connections.

System_CAPS_pubclassServicePointManager

Manages the collection of ServicePoint objects.

System_CAPS_pubclassSocketAddress

Stores serialized information from EndPoint derived classes.

System_CAPS_pubclassSocketPermission

Controls rights to make or accept connections on a transport address.

System_CAPS_pubclassSocketPermissionAttribute

Specifies security actions to control Socket connections. This class cannot be inherited.

System_CAPS_pubclassTransportContext

The TransportContext class provides additional context about the underlying transport layer.

System_CAPS_pubclassUiSynchronizationContext

Obsolete.Provides the synchronization context for the managed UI used in synchronization models.

System_CAPS_pubclassUploadDataCompletedEventArgs

Provides data for the UploadDataCompleted event.

System_CAPS_pubclassUploadFileCompletedEventArgs

Provides data for the UploadFileCompleted event.

System_CAPS_pubclassUploadProgressChangedEventArgs

Provides data for the UploadProgressChanged event of a WebClient.

System_CAPS_pubclassUploadStringCompletedEventArgs

Provides data for the UploadStringCompleted event.

System_CAPS_pubclassUploadValuesCompletedEventArgs

Provides data for the UploadValuesCompleted event.

System_CAPS_pubclassWebClient

Provides common methods for sending data to and receiving data from a resource identified by a URI.

System_CAPS_pubclassWebException

The exception that is thrown when an error occurs while accessing the network through a pluggable protocol.

System_CAPS_pubclassWebHeaderCollection

Contains protocol headers associated with a request or response.

System_CAPS_pubclassWebPermission

Controls rights to access HTTP Internet resources.

System_CAPS_pubclassWebPermissionAttribute

Specifies permission to access Internet resources. This class cannot be inherited.

System_CAPS_pubclassWebProxy

Contains HTTP proxy settings for the WebRequest class.

System_CAPS_pubclassWebRequest

Makes a request to a Uniform Resource Identifier (URI). This is an abstract class.

System_CAPS_pubclassWebRequestMethods

Container class for WebRequestMethods.Ftp, WebRequestMethods.File, and WebRequestMethods.Http classes. This class cannot be inherited

System_CAPS_pubclassWebResponse

Provides a response from a Uniform Resource Identifier (URI). This is an abstract class.

System_CAPS_pubclassWebUtility

Provides methods for encoding and decoding URLs when processing Web requests.

System_CAPS_pubclassWriteStreamClosedEventArgs

Provides data for the WriteStreamClosed event.

InterfaceDescription
System_CAPS_pubinterfaceIAuthenticationModule

Provides the base authentication interface for Web client authentication modules.

System_CAPS_pubinterfaceICertificatePolicy

Validates a server certificate.

System_CAPS_pubinterfaceICredentialPolicy

Defines the credential policy to be used for resource requests that are made using WebRequest and its derived classes.

System_CAPS_pubinterfaceICredentials

Provides the base authentication interface for retrieving credentials for Web client authentication.

System_CAPS_pubinterfaceICredentialsByHost

Provides the interface for retrieving credentials for a host, port, and authentication type.

System_CAPS_pubinterfaceINetworkProgress

Obsolete.Provides information on network progress in sending data over the network.

System_CAPS_pubinterfaceIUnsafeWebRequestCreate

Obsolete.Creates an unsafe WebRequest to a Uniform Resource Identifier (URI).

System_CAPS_pubinterfaceIWebProxy

Provides the base interface for implementation of proxy access for the WebRequest class.

System_CAPS_pubinterfaceIWebProxyScript

This API supports the product infrastructure and is not intended to be used directly from your code. Provides the base interface to load and execute scripts for automatic proxy detection.

System_CAPS_pubinterfaceIWebRequestCreate

Provides the base interface for creating WebRequest instances.

DelegateDescription
System_CAPS_pubdelegateAuthenticationSchemeSelector

Selects the authentication scheme for an HttpListener instance.

System_CAPS_pubdelegateBindIPEndPoint

Represents the method that specifies a local Internet Protocol address and port number for a ServicePoint.

System_CAPS_pubdelegateDownloadDataCompletedEventHandler

Represents the method that will handle the DownloadDataCompleted event of a WebClient.

System_CAPS_pubdelegateDownloadProgressChangedEventHandler

Represents the method that will handle the WebClient.DownloadProgressChanged event of a WebClient.

System_CAPS_pubdelegateDownloadStringCompletedEventHandler

Represents the method that will handle the DownloadStringCompleted event of a WebClient.

System_CAPS_pubdelegateHttpListener.ExtendedProtectionSelector

A delegate called to determine the ExtendedProtectionPolicy to use for each HttpListener request.

System_CAPS_pubdelegateHttpContinueDelegate

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

System_CAPS_pubdelegateOpenReadCompletedEventHandler

Represents the method that will handle the OpenReadCompleted event of a WebClient.

System_CAPS_pubdelegateOpenWriteCompletedEventHandler

Represents the method that will handle the OpenWriteCompleted event of a WebClient.

System_CAPS_pubdelegateUploadDataCompletedEventHandler

Represents the method that will handle the UploadDataCompleted event of a WebClient.

System_CAPS_pubdelegateUploadFileCompletedEventHandler

Represents the method that will handle the UploadFileCompleted event of a WebClient.

System_CAPS_pubdelegateUploadProgressChangedEventHandler

Represents the method that will handle the UploadProgressChanged event of a WebClient.

System_CAPS_pubdelegateUploadStringCompletedEventHandler

Represents the method that will handle the UploadStringCompleted event of a WebClient.

System_CAPS_pubdelegateUploadValuesCompletedEventHandler

Represents the method that will handle the UploadValuesCompleted event of a WebClient.

System_CAPS_pubdelegateWriteStreamClosedEventHandler

Represents the method that will handle the WriteStreamClosed event of a WebClient.

EnumerationDescription
System_CAPS_pubenumAuthenticationSchemes

Specifies protocols for authentication.

System_CAPS_pubenumDecompressionMethods

Represents the file compression and decompression encoding format to be used to compress the data received in response to an HttpWebRequest.

System_CAPS_pubenumFtpStatusCode

Specifies the status codes returned for a File Transfer Protocol (FTP) operation.

System_CAPS_pubenumHttpRequestHeader

The HTTP headers that may be specified in a client request.

System_CAPS_pubenumHttpResponseHeader

The HTTP headers that can be specified in a server response.

System_CAPS_pubenumHttpStatusCode

Contains the values of status codes defined for HTTP.

System_CAPS_pubenumNetworkAccess

Specifies network access permissions.

System_CAPS_pubenumSecurityProtocolType

Specifies the security protocols that are supported by the Schannel security package.

System_CAPS_pubenumTransportType

Defines transport types for the SocketPermission and Socket classes.

System_CAPS_pubenumWebExceptionStatus

This API supports the product infrastructure and is not intended to be used directly from your code. Defines status codes for the WebException class.

Return to top
Show:
© 2016 Microsoft