System.Net namespaces

System.Net and its child namespaces (System.Net.Http, System.Net.Http.Headers, and System.Net.NetworkInformation) contain types that provide networking support.

This topic displays the types in the System.Net namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store 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 the .NET for Windows Store apps.

System.Net namespace

Types supported in the .NET for Windows Store 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.

HttpRequestHeader

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

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.

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.

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.

System.Net.Http namespace

Types supported in the .NET for Windows Store 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.

System.Net.Http.Headers namespace

Types supported in the .NET for Windows Store 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.

System.Net.NetworkInformation namespace

Types supported in the .NET for Windows Store apps

Description

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.

See Also

Concepts

.NET for Windows Store apps - supported APIs