---
title: "System::Net namespace"
url: "https://reference.aspose.com/pdf/cpp/system.net/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use System::Net namespace in C++."
---




## Classes

| Class | Description |
| --- | --- |
| [ArrayBuffer](./arraybuffer/) |  |
| [Cookie](./cookie/) | Represents an HTTP cookie. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [CookieCollection](./cookiecollection/) | Represents a list of sorted cookies. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [CookieComparer](./cookiecomparer/) | Used to compare the [Cookie](./cookie/) class instances. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [CookieContainer](./cookiecontainer/) | Provides a container for the CookieCollection-class instances. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [CookieParser](./cookieparser/) | Used to parse a cookie header and create an instance of the [Cookie](./cookie/) class. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [CredentialCache](./credentialcache/) | Provides the credentials storage. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [Dns](./dns/) | Provides methods to work with DNS. |
| [DnsEndPoint](./dnsendpoint/) | Contains information used by the application to connect to the service. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [EndPoint](./endpoint/) | The abstract class contains a network address. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [FileWebRequest](./filewebrequest/) | Provides implementation of the [WebRequest](./webrequest/) abstract class to work with the file system. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [FileWebResponse](./filewebresponse/) | Provides implementation of the [WebResponse](./webresponse/) abstract class to work with the file system. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [FtpWebRequest](./ftpwebrequest/) | Implements a File Transfer Protocol (FTP) client. Dummy class making it possible linking translated code with [FtpWebRequest](./ftpwebrequest/) references, but not executing it. Contains no properly implemented members. |
| [FtpWebResponse](./ftpwebresponse/) | Dummy class making it possible linking translated code with [FtpWebResponse](./ftpwebresponse/) references, but not executing it. Contains no properly implemented members. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [HeaderVariantInfo](./headervariantinfo/) | Used to match the cookie name and specification. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [HttpKnownHeaderNames](./httpknownheadernames/) | Contains the string values of the known header names. |
| [HttpRequestHeaderExtensions](./httprequestheaderextensions/) | Contains utility methods to work with the [HttpRequestHeader](./httprequestheader/) enumeration values. |
| [HttpResponseHeaderExtensions](./httpresponseheaderextensions/) | Contains utility methods to work with the [HttpResponseHeader](./httpresponseheader/) enumeration values. |
| [HttpStatusDescription](./httpstatusdescription/) | Contains the utility methods to get the string representation of the HTTP status. |
| [HttpVersion](./httpversion/) | Contains versions of HTTP. |
| [HttpWebRequest](./httpwebrequest/) | Represents the HTTP web request. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [HttpWebResponse](./httpwebresponse/) | Represents the HTTP web response. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [ICredentials](./icredentials/) | Provides the authentication interface. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [ICredentialsByHost](./icredentialsbyhost/) | Provides the authentication interface for retrieving credentials for a host, port, and authentication type. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [IPAddress](./ipaddress/) | Represents the IP address. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [IPEndPoint](./ipendpoint/) | Represents a network endpoint that contains an IP address and a port. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [IPHostEntry](./iphostentry/) | Represents information about an internet host address. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [IWebProxy](./iwebproxy/) | This interface used for implementation of proxy access to the [WebRequest](./webrequest/) class. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [IWebRequestCreate](./iwebrequestcreate/) | Provides the methods for creating the [WebRequest](./webrequest/) class instances. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [NetworkCredential](./networkcredential/) | Provides credentials for the password-based authentication schemes. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [PathList](./pathlist/) | Represents the list of the [CookieCollection](./cookiecollection/) class instances. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [ServicePoint](./servicepoint/) | Provides HTTP connection management. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [ServicePointManager](./servicepointmanager/) | Manages the lifecycle stages (creating, maintaining, and deleting) of the [ServicePoint](./servicepoint/) class instances. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [SocketAddress](./socketaddress/) | Used to store serialized information about the [EndPoint](./endpoint/) class instances. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [UriScheme](./urischeme/) | Represent the scheme for URI. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [WebClient](./webclient/) | [WebClient](./webclient/) provides common methods for sending and receiving data. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [WebHeaderCollection](./webheadercollection/) | Represents the collection of the protocol headers. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [WebProxy](./webproxy/) | Represents an http web-proxy server. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [WebRequest](./webrequest/) | Represents a web request. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
| [WebRequestMethods](./webrequestmethods/) | Represents the string constants of web requests. |
| [WebResponse](./webresponse/) | Represents a web response. Objects of this class should only be allocated using [System::MakeObject()](../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../system/smartptr/) pointer and use this pointer to pass it to functions as argument. |
## Enums

| Enum | Description |
| --- | --- |
| [AuthenticationSchemes](./authenticationschemes/) | Enumerates the authentication schemes. |
| [CookieVariant](./cookievariant/) | Enumerates the cookie specifications. |
| [DecompressionMethods](./decompressionmethods/) | Enumerates the compression-decompression algorithm. |
| [HttpRequestHeader](./httprequestheader/) | Enumerates the request headers. |
| [HttpResponseHeader](./httpresponseheader/) | Enumerates the http response headers. |
| [HttpStatusCode](./httpstatuscode/) |  |
| [SecurityProtocolType](./securityprotocoltype/) | Enumerates the security protocol types. |
| [TransportType](./transporttype/) | Defines the transport type allowed for the socket. |
| [WebExceptionStatus](./webexceptionstatus/) | Enumerates the status codes of the [WebException](./webexception/) class. |
| [WebHeaderCollectionType](./webheadercollectiontype/) | Enumerates the types of the protocol headers collection. |
## Typedefs

| Typedef | Description |
| --- | --- |
| [BindIPEndPoint](./bindipendpoint/) |  |
| [CookieException](./cookieexception/) |  |
| [WebException](./webexception/) |  |
