System::Net Namespace Reference

Namespaces

 Cache
 
 Http
 
 NetworkInformation
 
 Security
 
 Sockets
 

Classes

class  Cookie
 
class  CookieCollection
 
class  CookieComparer
 
class  CookieContainer
 
class  CookieParser
 
class  CredentialCache
 
class  Details_CookieException
 
class  Details_WebException
 
class  Dns
 
class  DnsEndPoint
 
class  EndPoint
 
class  FileWebRequest
 
class  FileWebResponse
 
class  FtpWebRequest
 
class  FtpWebResponse
 
class  HeaderVariantInfo
 
class  HttpKnownHeaderNames
 
class  HttpRequestHeaderExtensions
 
class  HttpResponseHeaderExtensions
 
class  HttpStatusDescription
 
class  HttpVersion
 
class  HttpWebRequest
 
class  HttpWebResponse
 
class  ICredentials
 
class  ICredentialsByHost
 
class  IPAddress
 
class  IPEndPoint
 
class  IPHostEntry
 
class  IWebProxy
 
class  IWebRequestCreate
 
class  NetworkCredential
 
class  PathList
 
class  ServicePoint
 
class  ServicePointManager
 
class  SocketAddress
 
class  UriScheme
 
class  WebClient
 
class  WebHeaderCollection
 
class  WebProxy
 
class  WebRequest
 
class  WebRequestMethods
 
class  WebResponse
 

Typedefs

using CookieException = System::ExceptionWrapper< Details_CookieException >
 
using BindIPEndPoint = System::MulticastDelegate< System::SharedPtr< IPEndPoint >(System::SharedPtr< ServicePoint >, System::SharedPtr< IPEndPoint >, int32_t)>
 
using WebException = System::ExceptionWrapper< Details_WebException >
 

Enumerations

enum  AuthenticationSchemes {
  AuthenticationSchemes::None = 0x00000000, AuthenticationSchemes::Digest = 0x00000001, AuthenticationSchemes::Negotiate = 0x00000002, AuthenticationSchemes::Ntlm = 0x00000004,
  AuthenticationSchemes::Basic = 0x00000008, AuthenticationSchemes::Anonymous = 0x00008000, AuthenticationSchemes::IntegratedWindowsAuthentication = static_cast<int32_t>(Negotiate | Ntlm)
}
 
enum  CookieVariant {
  CookieVariant::Unknown, CookieVariant::Plain, CookieVariant::Rfc2109, CookieVariant::Rfc2965,
  CookieVariant::Default = static_cast<int32_t>(Rfc2109)
}
 
enum  DecompressionMethods { DecompressionMethods::None = 0, DecompressionMethods::GZip = 1, DecompressionMethods::Deflate = 2 }
 
enum  HttpRequestHeader {
  HttpRequestHeader::CacheControl = 0, HttpRequestHeader::Connection = 1, HttpRequestHeader::Date = 2, HttpRequestHeader::KeepAlive = 3,
  HttpRequestHeader::Pragma = 4, HttpRequestHeader::Trailer = 5, HttpRequestHeader::TransferEncoding = 6, HttpRequestHeader::Upgrade = 7,
  HttpRequestHeader::Via = 8, HttpRequestHeader::Warning = 9, HttpRequestHeader::Allow = 10, HttpRequestHeader::ContentLength = 11,
  HttpRequestHeader::ContentType = 12, HttpRequestHeader::ContentEncoding = 13, HttpRequestHeader::ContentLanguage = 14, HttpRequestHeader::ContentLocation = 15,
  HttpRequestHeader::ContentMd5 = 16, HttpRequestHeader::ContentRange = 17, HttpRequestHeader::Expires = 18, HttpRequestHeader::LastModified = 19,
  HttpRequestHeader::Accept = 20, HttpRequestHeader::AcceptCharset = 21, HttpRequestHeader::AcceptEncoding = 22, HttpRequestHeader::AcceptLanguage = 23,
  HttpRequestHeader::Authorization = 24, HttpRequestHeader::Cookie = 25, HttpRequestHeader::Expect = 26, HttpRequestHeader::From = 27,
  HttpRequestHeader::Host = 28, HttpRequestHeader::IfMatch = 29, HttpRequestHeader::IfModifiedSince = 30, HttpRequestHeader::IfNoneMatch = 31,
  HttpRequestHeader::IfRange = 32, HttpRequestHeader::IfUnmodifiedSince = 33, HttpRequestHeader::MaxForwards = 34, HttpRequestHeader::ProxyAuthorization = 35,
  HttpRequestHeader::Referer = 36, HttpRequestHeader::Range = 37, HttpRequestHeader::Te = 38, HttpRequestHeader::Translate = 39,
  HttpRequestHeader::UserAgent = 40
}
 
enum  HttpResponseHeader {
  HttpResponseHeader::CacheControl = 0, HttpResponseHeader::Connection = 1, HttpResponseHeader::Date = 2, HttpResponseHeader::KeepAlive = 3,
  HttpResponseHeader::Pragma = 4, HttpResponseHeader::Trailer = 5, HttpResponseHeader::TransferEncoding = 6, HttpResponseHeader::Upgrade = 7,
  HttpResponseHeader::Via = 8, HttpResponseHeader::Warning = 9, HttpResponseHeader::Allow = 10, HttpResponseHeader::ContentLength = 11,
  HttpResponseHeader::ContentType = 12, HttpResponseHeader::ContentEncoding = 13, HttpResponseHeader::ContentLanguage = 14, HttpResponseHeader::ContentLocation = 15,
  HttpResponseHeader::ContentMd5 = 16, HttpResponseHeader::ContentRange = 17, HttpResponseHeader::Expires = 18, HttpResponseHeader::LastModified = 19,
  HttpResponseHeader::AcceptRanges = 20, HttpResponseHeader::Age = 21, HttpResponseHeader::ETag = 22, HttpResponseHeader::Location = 23,
  HttpResponseHeader::ProxyAuthenticate = 24, HttpResponseHeader::RetryAfter = 25, HttpResponseHeader::Server = 26, HttpResponseHeader::SetCookie = 27,
  HttpResponseHeader::Vary = 28, HttpResponseHeader::WwwAuthenticate = 29
}
 
enum  HttpStatusCode {
  HttpStatusCode::Continue = 100, HttpStatusCode::SwitchingProtocols = 101, HttpStatusCode::OK = 200, HttpStatusCode::Created = 201,
  HttpStatusCode::Accepted = 202, HttpStatusCode::NonAuthoritativeInformation = 203, HttpStatusCode::NoContent = 204, HttpStatusCode::ResetContent = 205,
  HttpStatusCode::PartialContent = 206, HttpStatusCode::MultipleChoices = 300, HttpStatusCode::Ambiguous = 300, HttpStatusCode::MovedPermanently = 301,
  HttpStatusCode::Moved = 301, HttpStatusCode::Found = 302, HttpStatusCode::Redirect = 302, HttpStatusCode::SeeOther = 303,
  HttpStatusCode::RedirectMethod = 303, HttpStatusCode::NotModified = 304, HttpStatusCode::UseProxy = 305, HttpStatusCode::Unused = 306,
  HttpStatusCode::TemporaryRedirect = 307, HttpStatusCode::RedirectKeepVerb = 307, HttpStatusCode::BadRequest = 400, HttpStatusCode::Unauthorized = 401,
  HttpStatusCode::PaymentRequired = 402, HttpStatusCode::Forbidden = 403, HttpStatusCode::NotFound = 404, HttpStatusCode::MethodNotAllowed = 405,
  HttpStatusCode::NotAcceptable = 406, HttpStatusCode::ProxyAuthenticationRequired = 407, HttpStatusCode::RequestTimeout = 408, HttpStatusCode::Conflict = 409,
  HttpStatusCode::Gone = 410, HttpStatusCode::LengthRequired = 411, HttpStatusCode::PreconditionFailed = 412, HttpStatusCode::RequestEntityTooLarge = 413,
  HttpStatusCode::RequestUriTooLong = 414, HttpStatusCode::UnsupportedMediaType = 415, HttpStatusCode::RequestedRangeNotSatisfiable = 416, HttpStatusCode::ExpectationFailed = 417,
  HttpStatusCode::UpgradeRequired = 426, HttpStatusCode::InternalServerError = 500, HttpStatusCode::NotImplemented = 501, HttpStatusCode::BadGateway = 502,
  HttpStatusCode::ServiceUnavailable = 503, HttpStatusCode::GatewayTimeout = 504, HttpStatusCode::HttpVersionNotSupported = 505
}
 
enum  SecurityProtocolType {
  SecurityProtocolType::SystemDefault = 0, SecurityProtocolType::Ssl3 = 48, SecurityProtocolType::Tls = 192, SecurityProtocolType::Tls11 = 768,
  SecurityProtocolType::Tls12 = 3072
}
 
enum  TransportType {
  TransportType::Udp = 1, TransportType::Connectionless = Udp, TransportType::Tcp = 2, TransportType::ConnectionOriented = Tcp,
  TransportType::All = 3
}
 
enum  WebExceptionStatus {
  WebExceptionStatus::Success = 0, WebExceptionStatus::NameResolutionFailure = 1, WebExceptionStatus::ConnectFailure = 2, WebExceptionStatus::ReceiveFailure = 3,
  WebExceptionStatus::SendFailure = 4, WebExceptionStatus::PipelineFailure = 5, WebExceptionStatus::RequestCanceled = 6, WebExceptionStatus::ProtocolError = 7,
  WebExceptionStatus::ConnectionClosed = 8, WebExceptionStatus::TrustFailure = 9, WebExceptionStatus::SecureChannelFailure = 10, WebExceptionStatus::ServerProtocolViolation = 11,
  WebExceptionStatus::KeepAliveFailure = 12, WebExceptionStatus::Pending = 13, WebExceptionStatus::Timeout = 14, WebExceptionStatus::ProxyNameResolutionFailure = 15,
  WebExceptionStatus::UnknownError = 16, WebExceptionStatus::MessageLengthLimitExceeded = 17, WebExceptionStatus::CacheEntryNotFound = 18, WebExceptionStatus::RequestProhibitedByCachePolicy = 19,
  WebExceptionStatus::RequestProhibitedByProxy = 20
}
 
enum  WebHeaderCollectionType : uint8_t { WebHeaderCollectionType::Unknown, WebHeaderCollectionType::WebRequest, WebHeaderCollectionType::WebResponse }
 

Functions

 DECLARE_ENUM_OPERATORS (System::Net::AuthenticationSchemes)
 
 DECLARE_ENUM_OPERATORS (System::Net::DecompressionMethods)
 
 DECLARE_ENUM_OPERATORS (System::Net::SecurityProtocolType)
 

Typedef Documentation

◆ BindIPEndPoint

◆ CookieException

◆ WebException

Enumeration Type Documentation

◆ AuthenticationSchemes

Enumerator
None 
Digest 
Negotiate 
Ntlm 
Basic 
Anonymous 
IntegratedWindowsAuthentication 

◆ CookieVariant

Enumerator
Unknown 
Plain 
Rfc2109 
Rfc2965 
Default 

◆ DecompressionMethods

Enumerator
None 
GZip 
Deflate 

◆ HttpRequestHeader

Enumerator
CacheControl 
Connection 
Date 
KeepAlive 
Pragma 
Trailer 
TransferEncoding 
Upgrade 
Via 
Warning 
Allow 
ContentLength 
ContentType 
ContentEncoding 
ContentLanguage 
ContentLocation 
ContentMd5 
ContentRange 
Expires 
LastModified 
Accept 
AcceptCharset 
AcceptEncoding 
AcceptLanguage 
Authorization 
Cookie 
Expect 
From 
Host 
IfMatch 
IfModifiedSince 
IfNoneMatch 
IfRange 
IfUnmodifiedSince 
MaxForwards 
ProxyAuthorization 
Referer 
Range 
Te 
Translate 
UserAgent 

◆ HttpResponseHeader

Enumerator
CacheControl 
Connection 
Date 
KeepAlive 
Pragma 
Trailer 
TransferEncoding 
Upgrade 
Via 
Warning 
Allow 
ContentLength 
ContentType 
ContentEncoding 
ContentLanguage 
ContentLocation 
ContentMd5 
ContentRange 
Expires 
LastModified 
AcceptRanges 
Age 
ETag 
Location 
ProxyAuthenticate 
RetryAfter 
Server 
SetCookie 
Vary 
WwwAuthenticate 

◆ HttpStatusCode

Enumerator
Continue 
SwitchingProtocols 
OK 
Created 
Accepted 
NonAuthoritativeInformation 
NoContent 
ResetContent 
PartialContent 
MultipleChoices 
Ambiguous 
MovedPermanently 
Moved 
Found 
Redirect 
SeeOther 
RedirectMethod 
NotModified 
UseProxy 
Unused 
TemporaryRedirect 
RedirectKeepVerb 
BadRequest 
Unauthorized 
PaymentRequired 
Forbidden 
NotFound 
MethodNotAllowed 
NotAcceptable 
ProxyAuthenticationRequired 
RequestTimeout 
Conflict 
Gone 
LengthRequired 
PreconditionFailed 
RequestEntityTooLarge 
RequestUriTooLong 
UnsupportedMediaType 
RequestedRangeNotSatisfiable 
ExpectationFailed 
UpgradeRequired 
InternalServerError 
NotImplemented 
BadGateway 
ServiceUnavailable 
GatewayTimeout 
HttpVersionNotSupported 

◆ SecurityProtocolType

Enumerator
SystemDefault 
Ssl3 
Tls 
Tls11 
Tls12 

◆ TransportType

Enumerator
Udp 
Connectionless 
Tcp 
ConnectionOriented 
All 

◆ WebExceptionStatus

Enumerator
Success 
NameResolutionFailure 
ConnectFailure 
ReceiveFailure 
SendFailure 
PipelineFailure 
RequestCanceled 
ProtocolError 
ConnectionClosed 
TrustFailure 
SecureChannelFailure 
ServerProtocolViolation 
KeepAliveFailure 
Pending 
Timeout 
ProxyNameResolutionFailure 
UnknownError 
MessageLengthLimitExceeded 
CacheEntryNotFound 
RequestProhibitedByCachePolicy 
RequestProhibitedByProxy 

◆ WebHeaderCollectionType

enum System::Net::WebHeaderCollectionType : uint8_t
strong
Enumerator
Unknown 
WebRequest 
WebResponse 

Function Documentation

◆ DECLARE_ENUM_OPERATORS() [1/3]

System::Net::DECLARE_ENUM_OPERATORS ( System::Net::DecompressionMethods  )

◆ DECLARE_ENUM_OPERATORS() [2/3]

System::Net::DECLARE_ENUM_OPERATORS ( System::Net::AuthenticationSchemes  )

◆ DECLARE_ENUM_OPERATORS() [3/3]

System::Net::DECLARE_ENUM_OPERATORS ( System::Net::SecurityProtocolType  )