System::Net Namespace Reference

Namespaces

 Cache
 
 NetworkInformation
 
 Security
 
 Sockets
 

Classes

class  Cookie
 
class  CookieCollection
 
class  CookieContainer
 
class  CredentialCache
 
class  Dns
 
class  DnsEndPoint
 
class  EndPoint
 
class  FileWebRequest
 
class  FileWebResponse
 
class  FtpWebRequest
 
class  FtpWebResponse
 
class  HttpWebRequest
 
class  HttpWebResponse
 
class  ICredentials
 
class  ICredentialsByHost
 
class  IPAddress
 
class  IPEndPoint
 
class  IPHostEntry
 
class  IWebProxy
 
class  NetworkCredential
 
class  ServicePoint
 
class  ServicePointManager
 
class  SocketAddress
 
class  WebClient
 
class  WebHeaderCollection
 
class  WebRequest
 
class  WebResponse
 

Typedefs

using BindIPEndPoint = System::MulticastDelegate< System::SharedPtr< IPEndPoint >(System::SharedPtr< ServicePoint >, System::SharedPtr< IPEndPoint >, int32_t)>
 

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  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  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
}
 Http request header definitions. More...
 
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
}
 Http response header definitions. More...
 

Functions

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

Typedef Documentation

◆ BindIPEndPoint

Enumeration Type Documentation

◆ AuthenticationSchemes

Enumerator
None 
Digest 
Negotiate 
Ntlm 
Basic 
Anonymous 
IntegratedWindowsAuthentication 

◆ HttpRequestHeader

Http request header definitions.

Enumerator
CacheControl 

Cache control header.

Connection 

Connection header.

Date 

Date header.

KeepAlive 

Keep-alive header.

Pragma 

Pragma header.

Trailer 

Trailer header.

TransferEncoding 

Transfer encoding header.

Upgrade 

Upgrade header.

Via 

Via header.

Warning 

Warning header.

Allow 

Allow header.

ContentLength 

Content-length header.

ContentType 

Content-type header.

ContentEncoding 

Cotnent-encoding header.

ContentLanguage 

Content-language header.

ContentLocation 

Content-location header.

ContentMd5 

Content-md5 header.

ContentRange 

Content-range header.

Expires 

Expires header.

LastModified 

Last-modified header.

Accept 

Accept header.

AcceptCharset 

Accept-charset header.

AcceptEncoding 

Accept-encoding header.

AcceptLanguage 

Accept-language header.

Authorization 

Authorization header.

Cookie 

Cookie header.

Expect 

Expect header.

From 

From header.

Host 

Host header.

IfMatch 

If-match header.

IfModifiedSince 

If-modified-since header.

IfNoneMatch 

If-not-match header.

IfRange 

If-range header.

IfUnmodifiedSince 

If-unmodified-since header.

MaxForwards 

Max-forwards header.

ProxyAuthorization 

Proxy-authorization header.

Referer 

Referer header.

Range 

Range header.

Te 

TE header.

Translate 

Translate header.

UserAgent 

User-agent header.

◆ HttpResponseHeader

Http response header definitions.

Enumerator
CacheControl 

Cache-control header.

Connection 

Connection header.

Date 

Date header.

KeepAlive 

Keep-alive header.

Pragma 

Pragma header.

Trailer 

Trailer header.

TransferEncoding 

Transfer-encoding header.

Upgrade 

Upgrade header.

Via 

Via header.

Warning 

Warning header.

Allow 

Allow header.

ContentLength 

Content-length header.

ContentType 

Content-type header.

ContentEncoding 

Content-encoding header.

ContentLanguage 

Content-language header.

ContentLocation 

Content-location header.

ContentMd5 

Content-md5 header.

ContentRange 

Content-range header.

Expires 

Expires header.

LastModified 

Last-modified header.

AcceptRanges 

Accept-ranges header.

Age 

Age header.

ETag 

Etag header.

Location 

Location header.

ProxyAuthenticate 

Proxy-authentificate header.

RetryAfter 

Retry-after header.

Server 

Serber header.

SetCookie 

Set-cookie header.

Vary 

Vary header.

WwwAuthenticate 

WWW-authenticate header.

◆ 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 

Function Documentation

◆ DECLARE_ENUM_OPERATORS() [1/2]

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

◆ DECLARE_ENUM_OPERATORS() [2/2]

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