System.Net namespaces for UWP apps
System.Net and its child namespaces (System.Net.Http, System.Net.Http.Headers, System.Net.NetworkInformation, System.Net.Security, and System.Net.Sockets) contain types that provide networking support.
This topic displays the types in the System.Net namespaces that are included in .NET for UWP apps. Note that .NET for UWP apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in .NET for UWP apps.
Types supported in .NET for UWP apps | Description |
|---|---|
Specifies protocols for authentication. | |
Provides a set of properties and methods that are used to manage cookies. This class cannot be inherited. | |
Provides a collection container for instances of the Cookie class. | |
Provides a container for a collection of CookieCollection objects. | |
The exception that is thrown when an error is made adding a Cookie to a CookieContainer. | |
Provides storage for multiple credentials. | |
Represents the file compression and decompression encoding format to be used to compress the data received in response to an HttpWebRequest. | |
Represents a network endpoint as a host name or a string representation of an IP address and a port number. | |
Identifies a network address. This is an abstract class. | |
The HTTP headers that may be specified in a client request. | |
The HTTP headers that can be specified in a server response. | |
Contains the values of status codes defined for HTTP. | |
Provides an HTTP-specific implementation of the WebRequest class. | |
Provides an HTTP-specific implementation of the WebResponse class. | |
Provides the base authentication interface for retrieving credentials for Web client authentication. | |
Provides the interface for retrieving credentials for a host, port, and authentication type. | |
Provides an Internet Protocol (IP) address. | |
Represents a network endpoint as an IP address and a port number. | |
Provides the base interface for implementation of proxy access for the WebRequest class. | |
Provides the base interface for creating WebRequest instances. | |
Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. | |
The exception that is thrown when an error is made while using a network protocol. | |
Stores serialized information from EndPoint derived classes. | |
The TransportContext class provides additional context about the underlying transport layer. | |
The exception that is thrown when an error occurs while accessing the network through a pluggable protocol. | |
Defines status codes for the WebException class. | |
Contains protocol headers associated with a request or response. | |
Makes a request to a Uniform Resource Identifier (URI). This is an abstract class. | |
Provides a response from a Uniform Resource Identifier (URI). This is an abstract class. | |
Provides methods for encoding and decoding URLs when processing Web requests. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Provides HTTP content based on a byte array. | |
Specifies how client certificates are provided. | |
A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler. | |
A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type. | |
Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. | |
A base class for HTTP handler implementations. | |
Indicates if HttpClient operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. | |
A base class representing an HTTP entity body and content headers. | |
A base type for HTTP message handlers. | |
The base type for HttpClient and other message originators. | |
A helper class for retrieving and comparing standard HTTP methods. | |
A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes. | |
Represents a HTTP request message. | |
Represents a HTTP response message. | |
A base type for handlers which only do some small processing of request and/or response messages. | |
Provides a collection of HttpContent objects that get serialized using the multipart content type specification. | |
Provides a container for content encoded using multipart/form-data MIME type. | |
Represents the class that is used to create special HttpRequestMessage for use with the Real-Time-Communications (RTC) background notification infrastructure. | |
Provides HTTP content based on a stream. | |
Provides HTTP content based on a string. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values. | |
Represents the value of the Cache-Control header. | |
Represents the value of the Content-Disposition header. | |
Represents the value of the Content-Range header. | |
Represents an entity-tag header value. | |
Represents the collection of Content Headers as defined in RFC 2616. | |
A collection of headers and their values as defined in RFC 2616. | |
Represents a collection of header values. | |
Represents the collection of Request Headers as defined in RFC 2616. | |
Represents the collection of Response Headers as defined in RFC 2616. | |
Represents a media-type as defined in the RFC 2616. | |
Represents a content-type header value with an additional quality. | |
Represents a name/value pair. | |
Represents a name/value pair with parameters. | |
Represents a product header value. | |
Represents a value which can either be a product or a comment. | |
Represents a header value which can either be a date/time or an entity-tag value. | |
Represents the value of the Range header. | |
Represents a byte-range header value. | |
Represents a header value which can either be a date/time or a timespan value. | |
Represents a string header value with an optional quality. | |
Represents a transfer-coding header value. | |
Represents a transfer-coding header value with optional quality. | |
Represents the value of a Via header. | |
Represents a warning value used by the Warning header. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Stores a set of IPAddress types. | |
References one or more methods to be called when the address of a network interface changes. | |
Allows applications to receive notification when the Internet Protocol (IP) address of a network interface, also called a network card or adapter, changes. | |
Provides configuration and statistical information for a network interface. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Specifies client requirements for authentication and impersonation when using the WebRequest class and derived classes to request a resource. | |
Enumerates Secure Socket Layer (SSL) policy errors. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Specifies the addressing scheme that an instance of the Socket class can use. | |
Specifies the protocols that the Socket class supports. | |
Implements the Berkeley sockets interface. | |
Represents an asynchronous socket operation. | |
The type of asynchronous socket operation most recently performed with this context object. | |
Defines error codes for the Socket class. | |
The exception that is thrown when a socket error occurs. | |
Defines constants that are used by the Socket.Shutdown method. | |
Specifies the type of socket that an instance of the Socket class represents. |