System.Net namespaces for UWP apps

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

AuthenticationSchemes

Specifies protocols for authentication.

Cookie

Provides a set of properties and methods that are 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.

DecompressionMethods

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

DnsEndPoint

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

EndPoint

Identifies a network address. This is an abstract class.

HttpRequestHeader

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

HttpResponseHeader

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

HttpStatusCode

Contains the values of status codes defined for HTTP.

HttpWebRequest

Provides an HTTP-specific implementation of the WebRequest class.

HttpWebResponse

Provides an HTTP-specific implementation of the WebResponse class.

ICredentials

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

ICredentialsByHost

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

IPAddress

Provides an Internet Protocol (IP) address.

IPEndPoint

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

IWebProxy

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

IWebRequestCreate

Provides the base interface for creating WebRequest instances.

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.

SocketAddress

Stores serialized information from EndPoint derived classes.

TransportContext

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

WebException

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

WebExceptionStatus

Defines status codes for the WebException class.

WebHeaderCollection

Contains protocol headers associated with a request or response.

WebRequest

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

WebResponse

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

WebUtility

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

Types supported in the .NET for UWP apps

Description

ByteArrayContent

Provides HTTP content based on a byte array.

ClientCertificateOption

Specifies how client certificates are provided.

DelegatingHandler

A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler.

FormUrlEncodedContent

A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type.

HttpClient

Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.

HttpClientHandler

A base class for HTTP handler implementations.

HttpCompletionOption

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.

HttpContent

A base class representing an HTTP entity body and content headers.

HttpMessageHandler

A base type for HTTP message handlers.

HttpMessageInvoker

The base type for HttpClient and other message originators.

HttpMethod

A helper class for retrieving and comparing standard HTTP methods.

HttpRequestException

A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.

HttpRequestMessage

Represents a HTTP request message.

HttpResponseMessage

Represents a HTTP response message.

MessageProcessingHandler

A base type for handlers which only do some small processing of request and/or response messages.

MultipartContent

Provides a collection of HttpContent objects that get serialized using the multipart content type specification.

MultipartFormDataContent

Provides a container for content encoded using multipart/form-data MIME type.

RtcRequestFactory

Represents the class that is used to create special HttpRequestMessage for use with the Real-Time-Communications (RTC) background notification infrastructure.

StreamContent

Provides HTTP content based on a stream.

StringContent

Provides HTTP content based on a string.

Types supported in the .NET for UWP apps

Description

AuthenticationHeaderValue

Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values.

CacheControlHeaderValue

Represents the value of the Cache-Control header.

ContentDispositionHeaderValue

Represents the value of the Content-Disposition header.

ContentRangeHeaderValue

Represents the value of the Content-Range header.

EntityTagHeaderValue

Represents an entity-tag header value.

HttpContentHeaders

Represents the collection of Content Headers as defined in RFC 2616.

HttpHeaders

A collection of headers and their values as defined in RFC 2616.

HttpHeaderValueCollection<T>

Represents a collection of header values.

HttpRequestHeaders

Represents the collection of Request Headers as defined in RFC 2616.

HttpResponseHeaders

Represents the collection of Response Headers as defined in RFC 2616.

MediaTypeHeaderValue

Represents a media-type as defined in the RFC 2616.

MediaTypeWithQualityHeaderValue

Represents a content-type header value with an additional quality.

NameValueHeaderValue

Represents a name/value pair.

NameValueWithParametersHeaderValue

Represents a name/value pair with parameters.

ProductHeaderValue

Represents a product header value.

ProductInfoHeaderValue

Represents a value which can either be a product or a comment.

RangeConditionHeaderValue

Represents a header value which can either be a date/time or an entity-tag value.

RangeHeaderValue

Represents the value of the Range header.

RangeItemHeaderValue

Represents a byte-range header value.

RetryConditionHeaderValue

Represents a header value which can either be a date/time or a timespan value.

StringWithQualityHeaderValue

Represents a string header value with an optional quality.

TransferCodingHeaderValue

Represents a transfer-coding header value.

TransferCodingWithQualityHeaderValue

Represents a transfer-coding header value with optional quality.

ViaHeaderValue

Represents the value of a Via header.

WarningHeaderValue

Represents a warning value used by the Warning header.

Types supported in the .NET for UWP apps

Description

IPAddressCollection

Stores a set of IPAddress types.

NetworkAddressChangedEventHandler

References one or more methods to be called when the address of a network interface changes.

NetworkChange

Allows applications to receive notification when the Internet Protocol (IP) address of a network interface, also called a network card or adapter, changes.

NetworkInterface

Provides configuration and statistical information for a network interface.

Types supported in the .NET for UWP apps

Description

AuthenticationLevel

Specifies client requirements for authentication and impersonation when using the WebRequest class and derived classes to request a resource.

SslPolicyErrors

Enumerates Secure Socket Layer (SSL) policy errors.

Types supported in the .NET for UWP apps

Description

AddressFamily

Specifies the addressing scheme that an instance of the Socket class can use.

ProtocolType

Specifies the protocols that the Socket class supports.

Socket

Implements the Berkeley sockets interface.

SocketAsyncEventArgs

Represents an asynchronous socket operation.

SocketAsyncOperation

The type of asynchronous socket operation most recently performed with this context object.

SocketError

Defines error codes for the Socket class.

SocketException

The exception that is thrown when a socket error occurs.

SocketShutdown

Defines constants that are used by the Socket.Shutdown method.

SocketType

Specifies the type of socket that an instance of the Socket class represents.

Show:
© 2017 Microsoft