mscorlib(4.0.0.0) API with additions
|
Classes | |
class | AuthenticationManager |
Manages the authentication modules called during the client authentication process. More... | |
class | Authorization |
Contains an authentication message for an Internet server. More... | |
class | Cookie |
Provides a set of properties and methods that are used to manage cookies. This class cannot be inherited. More... | |
class | CookieCollection |
Provides a collection container for instances of the T:System.Net.Cookie class. More... | |
class | CookieContainer |
Provides a container for a collection of T:System.Net.CookieCollection objects. More... | |
class | CookieException |
The exception that is thrown when an error is made adding a T:System.Net.Cookie to a T:System.Net.CookieContainer. More... | |
class | CredentialCache |
Provides storage for multiple credentials. More... | |
class | Dns |
Provides simple domain name resolution functionality. More... | |
class | DnsEndPoint |
Represents a network endpoint as a host name or a string representation of an IP address and a port number. More... | |
class | DnsPermission |
Controls rights to access Domain Name System (DNS) servers on the network. More... | |
class | DnsPermissionAttribute |
Specifies permission to request information from Domain Name Servers. More... | |
class | DownloadDataCompletedEventArgs |
Provides data for the E:System.Net.WebClient.DownloadDataCompleted event. More... | |
class | DownloadProgressChangedEventArgs |
Provides data for the E:System.Net.WebClient.DownloadProgressChanged event of a T:System.Net.WebClient. More... | |
class | DownloadStringCompletedEventArgs |
Provides data for the E:System.Net.WebClient.DownloadStringCompleted event. More... | |
class | EndPoint |
Identifies a network address. This is an abstract class. More... | |
class | EndpointPermission |
Defines an endpoint that is authorized by a T:System.Net.SocketPermission instance. More... | |
class | FileWebRequest |
Provides a file system implementation of the T:System.Net.WebRequest class. More... | |
class | FileWebResponse |
Provides a file system implementation of the T:System.Net.WebResponse class. More... | |
class | FtpWebRequest |
Implements a File Transfer Protocol (FTP) client. More... | |
class | FtpWebResponse |
Encapsulates a File Transfer Protocol (FTP) server's response to a request. More... | |
class | GlobalProxySelection |
Contains a global default proxy instance for all HTTP requests. More... | |
class | HttpListener |
Provides a simple, programmatically controlled HTTP protocol listener. This class cannot be inherited. More... | |
class | HttpListenerBasicIdentity |
Holds the user name and password from a basic authentication request. More... | |
class | HttpListenerContext |
Provides access to the request and response objects used by the T:System.Net.HttpListener class. This class cannot be inherited. More... | |
class | HttpListenerException |
The exception that is thrown when an error occurs processing an HTTP request. More... | |
class | HttpListenerPrefixCollection |
Represents the collection used to store Uniform Resource Identifier (URI) prefixes for T:System.Net.HttpListener objects. More... | |
class | HttpListenerRequest |
Describes an incoming HTTP request to an T:System.Net.HttpListener object. This class cannot be inherited. More... | |
class | HttpListenerResponse |
Represents a response to a request being handled by an T:System.Net.HttpListener object. More... | |
class | HttpListenerTimeoutManager |
The timeout manager to use for an T:System.Net.HttpListener object. More... | |
class | HttpVersion |
Defines the HTTP version numbers that are supported by the T:System.Net.HttpWebRequest and T:System.Net.HttpWebResponse classes. More... | |
class | HttpWebRequest |
Provides an HTTP-specific implementation of the T:System.Net.WebRequest class. More... | |
class | HttpWebResponse |
Provides an HTTP-specific implementation of the T:System.Net.WebResponse class. More... | |
interface | IAuthenticationModule |
Provides the base authentication interface for Web client authentication modules. More... | |
interface | ICertificatePolicy |
Validates a server certificate. More... | |
interface | ICredentialPolicy |
Defines the credential policy to be used for resource requests that are made using T:System.Net.WebRequest and its derived classes. More... | |
interface | ICredentials |
Provides the base authentication interface for retrieving credentials for Web client authentication. More... | |
interface | ICredentialsByHost |
Provides the interface for retrieving credentials for a host, port, and authentication type. More... | |
class | IPAddress |
Provides an Internet Protocol (IP) address. More... | |
class | IPEndPoint |
Represents a network endpoint as an IP address and a port number. More... | |
class | IPHostEntry |
Provides a container class for Internet host address information. More... | |
interface | IWebProxy |
Provides the base interface for implementation of proxy access for the T:System.Net.WebRequest class. More... | |
interface | IWebProxyScript |
Provides the base interface to load and execute scripts for automatic proxy detection. More... | |
interface | IWebRequestCreate |
Provides the base interface for creating T:System.Net.WebRequest instances. More... | |
class | NetworkCredential |
Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. More... | |
class | OpenReadCompletedEventArgs |
Provides data for the E:System.Net.WebClient.OpenReadCompleted event. More... | |
class | OpenWriteCompletedEventArgs |
Provides data for the E:System.Net.WebClient.OpenWriteCompleted event. More... | |
class | ProtocolViolationException |
The exception that is thrown when an error is made while using a network protocol. More... | |
class | ServicePoint |
Provides connection management for HTTP connections. More... | |
class | ServicePointManager |
Manages the collection of T:System.Net.ServicePoint objects. More... | |
class | SocketAddress |
Stores serialized information from T:System.Net.EndPoint derived classes. More... | |
class | SocketPermission |
Controls rights to make or accept connections on a transport address. More... | |
class | SocketPermissionAttribute |
Specifies security actions to control T:System.Net.Sockets.Socket connections. This class cannot be inherited. More... | |
class | TransportContext |
The T:System.Net.TransportContext class provides additional context about the underlying transport layer. More... | |
class | UploadDataCompletedEventArgs |
Provides data for the E:System.Net.WebClient.UploadDataCompleted event. More... | |
class | UploadFileCompletedEventArgs |
Provides data for the E:System.Net.WebClient.UploadFileCompleted event. More... | |
class | UploadProgressChangedEventArgs |
Provides data for the E:System.Net.WebClient.UploadProgressChanged event of a T:System.Net.WebClient. More... | |
class | UploadStringCompletedEventArgs |
Provides data for the E:System.Net.WebClient.UploadStringCompleted event. More... | |
class | UploadValuesCompletedEventArgs |
Provides data for the E:System.Net.WebClient.UploadValuesCompleted event. More... | |
class | WebClient |
Provides common methods for sending data to and receiving data from a resource identified by a URI. More... | |
class | WebException |
The exception that is thrown when an error occurs while accessing the network through a pluggable protocol. More... | |
class | WebHeaderCollection |
Contains protocol headers associated with a request or response. More... | |
class | WebPermission |
Controls rights to access HTTP Internet resources. More... | |
class | WebPermissionAttribute |
Specifies permission to access Internet resources. This class cannot be inherited. More... | |
class | WebProxy |
Contains HTTP proxy settings for the T:System.Net.WebRequest class. More... | |
class | WebRequest |
Makes a request to a Uniform Resource Identifier (URI). This is an abstract class. More... | |
class | WebRequestMethods |
Container class for T:System.Net.WebRequestMethods.Ftp, T:System.Net.WebRequestMethods.File, and T:System.Net.WebRequestMethods.Http classes. This class cannot be inherited More... | |
class | WebResponse |
Provides a response from a Uniform Resource Identifier (URI). This is an abstract class. More... | |
class | WebUtility |
Provides methods for encoding and decoding URLs when processing Web requests. More... | |
class | WriteStreamClosedEventArgs |
Provides data for the E:System.Net.WebClient.WriteStreamClosed event. More... | |
Enumerations | |
enum | AddressInfoHints { AI_PASSIVE = 0x1, AI_CANONNAME = 0x2, AI_NUMERICHOST = 0x4, AI_FQDN = 0x20000 } |
enum | Alg { Any = 0x0, ClassSignture = 0x2000, ClassEncrypt = 0x6000, ClassHash = 0x8000, ClassKeyXch = 0xA000, TypeRSA = 0x400, TypeBlock = 0x600, TypeStream = 0x800, TypeDH = 0xA00, NameDES = 0x1, NameRC2 = 0x2, Name3DES = 0x3, NameAES_128 = 0xE, NameAES_192 = 0xF, NameAES_256 = 0x10, NameAES = 0x11, NameRC4 = 0x1, NameMD5 = 0x3, NameSHA = 0x4, NameSHA256 = 0xC, NameSHA384 = 0xD, NameSHA512 = 0xE, NameDH_Ephem = 0x2 } |
enum | AuthenticationSchemes { AuthenticationSchemes.None = 0x0, AuthenticationSchemes.Digest = 0x1, AuthenticationSchemes.Negotiate = 0x2, AuthenticationSchemes.Ntlm = 0x4, AuthenticationSchemes.Basic = 0x8, AuthenticationSchemes.Anonymous = 0x8000, AuthenticationSchemes.IntegratedWindowsAuthentication = 0x6 } |
Specifies protocols for authentication. More... | |
enum | BoundaryType { ContentLength = 0, Chunked = 1, Multipart = 3, None = 4, Invalid = 5 } |
enum | BufferType { Empty = 0, Data = 1, Token = 2, Parameters = 3, Missing = 4, Extra = 5, Trailer = 6, Header = 7, Padding = 9, Stream = 10, ChannelBindings = 14, TargetHost = 0x10, ReadOnlyFlag = int.MinValue, ReadOnlyWithChecksum = 0x10000000 } |
enum | CertificateEncoding { Zero = 0, X509AsnEncoding = 1, X509NdrEncoding = 2, Pkcs7AsnEncoding = 0x10000, Pkcs7NdrEncoding = 0x20000, AnyAsnEncoding = 65537 } |
enum | CertificateProblem { OK = 0, TrustNOSIGNATURE = -2146762496, CertEXPIRED = -2146762495, CertVALIDITYPERIODNESTING = -2146762494, CertROLE = -2146762493, CertPATHLENCONST = -2146762492, CertCRITICAL = -2146762491, CertPURPOSE = -2146762490, CertISSUERCHAINING = -2146762489, CertMALFORMED = -2146762488, CertUNTRUSTEDROOT = -2146762487, CertCHAINING = -2146762486, CertREVOKED = -2146762484, CertUNTRUSTEDTESTROOT = -2146762483, CertREVOCATION_FAILURE = -2146762482, CertCN_NO_MATCH = -2146762481, CertWRONG_USAGE = -2146762480, TrustEXPLICITDISTRUST = -2146762479, CertUNTRUSTEDCA = -2146762478, CertINVALIDPOLICY = -2146762477, CertINVALIDNAME = -2146762476, CryptNOREVOCATIONCHECK = -2146885614, CryptREVOCATIONOFFLINE = -2146885613, TrustSYSTEMERROR = -2146869247, TrustNOSIGNERCERT = -2146869246, TrustCOUNTERSIGNER = -2146869245, TrustCERTSIGNATURE = -2146869244, TrustTIMESTAMP = -2146869243, TrustBADDIGEST = -2146869232, TrustBASICCONSTRAINTS = -2146869223, TrustFINANCIALCRITERIA = -2146869218 } |
enum | CertUsage { MatchTypeAnd, MatchTypeOr } |
enum | ChainPolicyType { Base = 1, Authenticode, Authenticode_TS, SSL, BasicConstraints, NtAuth } |
enum | CloseExState { Normal = 0x0, Abort = 0x1, Silent = 0x2 } |
enum | ConnectionModes { Single, Persistent, Pipeline, Mux } |
enum | ContentTypeValues { ChangeCipherSpec = 20, Alert = 21, HandShake = 22, AppData = 23, Unrecognized = 0xFF } |
enum | ContextAttribute { Sizes = 0, Names = 1, Lifespan = 2, DceInfo = 3, StreamSizes = 4, Authority = 6, PackageInfo = 10, NegotiationInfo = 12, UniqueBindings = 25, EndpointBindings = 26, ClientSpecifiedSpn = 27, RemoteCertificate = 83, LocalCertificate = 84, RootStore = 85, IssuerListInfoEx = 89, ConnectionInfo = 90, UiInfo = 104 } |
enum | ContextFlags { Zero = 0x0, Delegate = 0x1, MutualAuth = 0x2, ReplayDetect = 0x4, SequenceDetect = 0x8, Confidentiality = 0x10, UseSessionKey = 0x20, AllocateMemory = 0x100, Connection = 0x800, InitExtendedError = 0x4000, AcceptExtendedError = 0x8000, InitStream = 0x8000, AcceptStream = 0x10000, InitIntegrity = 0x10000, AcceptIntegrity = 0x20000, InitManualCredValidation = 0x80000, InitUseSuppliedCreds = 0x80, InitIdentify = 0x20000, AcceptIdentify = 0x80000, ProxyBindings = 0x4000000, AllowMissingBindings = 0x10000000, UnverifiedTargetName = 0x20000000 } |
enum | CookieToken { Nothing, NameValuePair, Attribute, EndToken, EndCookie, End, Equals, Comment, CommentUrl, CookieName, Discard, Domain, Expires, MaxAge, Path, Port, Secure, HttpOnly, Unknown, Version } |
enum | CookieVariant { Unknown = 0, Plain = 1, Rfc2109 = 2, Rfc2965 = 3, Default = 2 } |
enum | CredentialUse { Inbound = 1, Outbound, Both } |
enum | DataParseStatus { NeedMoreData, ContinueParsing, Done, Invalid, DataTooBig } |
enum | DecompressionMethods { DecompressionMethods.None = 0x0, DecompressionMethods.GZip = 0x1, DecompressionMethods.Deflate = 0x2 } |
Represents the file compression and decompression encoding format to be used to compress the data received in response to an T:System.Net.HttpWebRequest. More... | |
enum | DefaultPorts { DEFAULT_FTP_PORT = 21, DEFAULT_GOPHER_PORT = 70, DEFAULT_HTTP_PORT = 80, DEFAULT_HTTPS_PORT = 443, DEFAULT_NNTP_PORT = 119, DEFAULT_SMTP_PORT = 25, DEFAULT_TELNET_PORT = 23 } |
enum | Endianness { Network = 0, Native = 0x10 } |
enum | EntitySendFormat { ContentLength, Chunked } |
enum | FtpLoginState : byte { NotLoggedIn, LoggedIn, LoggedInButNeedsRelogin, ReloginFailed } |
enum | FtpMethodFlags { None = 0x0, IsDownload = 0x1, IsUpload = 0x2, TakesParameter = 0x4, MayTakeParameter = 0x8, DoesNotTakeParameter = 0x10, ParameterIsDirectory = 0x20, ShouldParseForResponseUri = 0x40, HasHttpCommand = 0x80, MustChangeWorkingDirectoryToPath = 0x100 } |
enum | FtpOperation { DownloadFile, ListDirectory, ListDirectoryDetails, UploadFile, UploadFileUnique, AppendFile, DeleteFile, GetDateTimestamp, GetFileSize, Rename, MakeDirectory, RemoveDirectory, PrintWorkingDirectory, Other } |
enum | FtpPrimitive { Upload, Download, CommandOnly } |
enum | FtpStatusCode { FtpStatusCode.Undefined = 0, FtpStatusCode.RestartMarker = 110, FtpStatusCode.ServiceTemporarilyNotAvailable = 120, FtpStatusCode.DataAlreadyOpen = 125, FtpStatusCode.OpeningData = 150, FtpStatusCode.CommandOK = 200, FtpStatusCode.CommandExtraneous = 202, FtpStatusCode.DirectoryStatus = 212, FtpStatusCode.FileStatus = 213, FtpStatusCode.SystemType = 215, FtpStatusCode.SendUserCommand = 220, FtpStatusCode.ClosingControl = 221, FtpStatusCode.ClosingData = 226, FtpStatusCode.EnteringPassive = 227, FtpStatusCode.LoggedInProceed = 230, FtpStatusCode.ServerWantsSecureSession = 234, FtpStatusCode.FileActionOK = 250, FtpStatusCode.PathnameCreated = 257, FtpStatusCode.SendPasswordCommand = 331, FtpStatusCode.NeedLoginAccount = 332, FtpStatusCode.FileCommandPending = 350, FtpStatusCode.ServiceNotAvailable = 421, FtpStatusCode.CantOpenData = 425, FtpStatusCode.ConnectionClosed = 426, FtpStatusCode.ActionNotTakenFileUnavailableOrBusy = 450, FtpStatusCode.ActionAbortedLocalProcessingError = 451, FtpStatusCode.ActionNotTakenInsufficientSpace = 452, FtpStatusCode.CommandSyntaxError = 500, FtpStatusCode.ArgumentSyntaxError = 501, FtpStatusCode.CommandNotImplemented = 502, FtpStatusCode.BadCommandSequence = 503, FtpStatusCode.NotLoggedIn = 530, FtpStatusCode.AccountNeeded = 532, FtpStatusCode.ActionNotTakenFileUnavailable = 550, FtpStatusCode.ActionAbortedUnknownPageType = 551, FtpStatusCode.FileActionAborted = 552, FtpStatusCode.ActionNotTakenFilenameNotAllowed = 553 } |
Specifies the status codes returned for a File Transfer Protocol (FTP) operation. More... | |
enum | HttpBehaviour : byte { Unknown, HTTP10, HTTP11PartiallyCompliant, HTTP11 } |
enum | HttpProcessingResult { Continue, ReadWait, WriteWait } |
enum | HttpRequestHeader { HttpRequestHeader.CacheControl, HttpRequestHeader.Connection, HttpRequestHeader.Date, HttpRequestHeader.KeepAlive, HttpRequestHeader.Pragma, HttpRequestHeader.Trailer, HttpRequestHeader.TransferEncoding, HttpRequestHeader.Upgrade, HttpRequestHeader.Via, HttpRequestHeader.Warning, HttpRequestHeader.Allow, HttpRequestHeader.ContentLength, HttpRequestHeader.ContentType, HttpRequestHeader.ContentEncoding, HttpRequestHeader.ContentLanguage, HttpRequestHeader.ContentLocation, HttpRequestHeader.ContentMd5, HttpRequestHeader.ContentRange, HttpRequestHeader.Expires, HttpRequestHeader.LastModified, HttpRequestHeader.Accept, HttpRequestHeader.AcceptCharset, HttpRequestHeader.AcceptEncoding, HttpRequestHeader.AcceptLanguage, HttpRequestHeader.Authorization, HttpRequestHeader.Cookie, HttpRequestHeader.Expect, HttpRequestHeader.From, HttpRequestHeader.Host, HttpRequestHeader.IfMatch, HttpRequestHeader.IfModifiedSince, HttpRequestHeader.IfNoneMatch, HttpRequestHeader.IfRange, HttpRequestHeader.IfUnmodifiedSince, HttpRequestHeader.MaxForwards, HttpRequestHeader.ProxyAuthorization, HttpRequestHeader.Referer, HttpRequestHeader.Range, HttpRequestHeader.Te, HttpRequestHeader.Translate, HttpRequestHeader.UserAgent } |
The HTTP headers that may be specified in a client request. More... | |
enum | HttpResponseHeader { HttpResponseHeader.CacheControl, HttpResponseHeader.Connection, HttpResponseHeader.Date, HttpResponseHeader.KeepAlive, HttpResponseHeader.Pragma, HttpResponseHeader.Trailer, HttpResponseHeader.TransferEncoding, HttpResponseHeader.Upgrade, HttpResponseHeader.Via, HttpResponseHeader.Warning, HttpResponseHeader.Allow, HttpResponseHeader.ContentLength, HttpResponseHeader.ContentType, HttpResponseHeader.ContentEncoding, HttpResponseHeader.ContentLanguage, HttpResponseHeader.ContentLocation, HttpResponseHeader.ContentMd5, HttpResponseHeader.ContentRange, HttpResponseHeader.Expires, HttpResponseHeader.LastModified, HttpResponseHeader.AcceptRanges, HttpResponseHeader.Age, HttpResponseHeader.ETag, HttpResponseHeader.Location, HttpResponseHeader.ProxyAuthenticate, HttpResponseHeader.RetryAfter, HttpResponseHeader.Server, HttpResponseHeader.SetCookie, HttpResponseHeader.Vary, HttpResponseHeader.WwwAuthenticate } |
The HTTP headers that can be specified in a server response. More... | |
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 } |
Contains the values of status codes defined for HTTP. More... | |
enum | HttpWriteMode { Unknown, ContentLength, Chunked, Buffer, None } |
enum | IgnoreCertProblem { not_time_valid = 1, ctl_not_time_valid = 2, not_time_nested = 4, invalid_basic_constraints = 8, all_not_time_valid = 7, allow_unknown_ca = 0x10, wrong_usage = 0x20, invalid_name = 0x40, invalid_policy = 0x80, end_rev_unknown = 0x100, ctl_signer_rev_unknown = 0x200, ca_rev_unknown = 0x400, root_rev_unknown = 0x800, all_rev_unknown = 3840, none = 0xFFF } |
enum | ListenerClientCertState { NotInitialized, InProgress, Completed } |
enum | NameInfoFlags { NI_NOFQDN = 0x1, NI_NUMERICHOST = 0x2, NI_NAMEREQD = 0x4, NI_NUMERICSERV = 0x8, NI_DGRAM = 0x10 } |
enum | NetworkAccess { NetworkAccess.Accept = 0x80, NetworkAccess.Connect = 0x40 } |
Specifies network access permissions. More... | |
enum | NetworkingPerfCounterName { SocketConnectionsEstablished, SocketBytesReceived, SocketBytesSent, SocketDatagramsReceived, SocketDatagramsSent, HttpWebRequestCreated, HttpWebRequestAvgLifeTime, HttpWebRequestAvgLifeTimeBase, HttpWebRequestQueued, HttpWebRequestAvgQueueTime, HttpWebRequestAvgQueueTimeBase, HttpWebRequestAborted, HttpWebRequestFailed } |
enum | ReadState { Start, StatusLine, Headers, Data } |
enum | SchProtocols { Zero = 0x0, PctClient = 0x2, PctServer = 0x1, Pct = 0x3, Ssl2Client = 0x8, Ssl2Server = 0x4, Ssl2 = 0xC, Ssl3Client = 0x20, Ssl3Server = 0x10, Ssl3 = 0x30, Tls10Client = 0x80, Tls10Server = 0x40, Tls10 = 0xC0, Tls11Client = 0x200, Tls11Server = 0x100, Tls11 = 0x300, Tls12Client = 0x800, Tls12Server = 0x400, Tls12 = 0xC00, Ssl3Tls = 0xF0, UniClient = int.MinValue, UniServer = 0x40000000, Unified = -1073741824, ClientMask = -2147480918, ServerMask = 0x40000555 } |
enum | SecurDll { SECURITY, SECUR32, SCHANNEL } |
enum | SecurityProtocolType { SecurityProtocolType.SystemDefault = 0x0, SecurityProtocolType.Ssl3 = 0x30, SecurityProtocolType.Tls = 0xC0, SecurityProtocolType.Tls11 = 0x300, SecurityProtocolType.Tls12 = 0xC00 } |
Specifies the security protocols that are supported by the Schannel security package. More... | |
enum | SecurityStatus { OK = 0, ContinueNeeded = 590610, CompleteNeeded = 590611, CompAndContinue = 590612, ContextExpired = 590615, CredentialsNeeded = 590624, Renegotiate = 590625, OutOfMemory = -2146893056, InvalidHandle = -2146893055, Unsupported = -2146893054, TargetUnknown = -2146893053, InternalError = -2146893052, PackageNotFound = -2146893051, NotOwner = -2146893050, CannotInstall = -2146893049, InvalidToken = -2146893048, CannotPack = -2146893047, QopNotSupported = -2146893046, NoImpersonation = -2146893045, LogonDenied = -2146893044, UnknownCredentials = -2146893043, NoCredentials = -2146893042, MessageAltered = -2146893041, OutOfSequence = -2146893040, NoAuthenticatingAuthority = -2146893039, IncompleteMessage = -2146893032, IncompleteCredentials = -2146893024, BufferNotEnough = -2146893023, WrongPrincipal = -2146893022, TimeSkew = -2146893020, UntrustedRoot = -2146893019, IllegalMessage = -2146893018, CertUnknown = -2146893017, CertExpired = -2146893016, AlgorithmMismatch = -2146893007, SecurityQosFailed = -2146893006, SmartcardLogonRequired = -2146892994, UnsupportedPreauth = -2146892989, BadBinding = -2146892986 } |
enum | SocketConstructorFlags { WSA_FLAG_OVERLAPPED = 0x1, WSA_FLAG_MULTIPOINT_C_ROOT = 0x2, WSA_FLAG_MULTIPOINT_C_LEAF = 0x4, WSA_FLAG_MULTIPOINT_D_ROOT = 0x8, WSA_FLAG_MULTIPOINT_D_LEAF = 0x10 } |
enum | ThreadKinds { Unknown = 0x0, User = 0x1, System = 0x2, Sync = 0x4, Async = 0x8, Timer = 0x10, CompletionPort = 0x20, Worker = 0x40, Finalization = 0x80, Other = 0x100, OwnerMask = 0x3, SyncMask = 0xC, SourceMask = 0x1F0, SafeSources = 0x160, ThreadPool = 0x60 } |
enum | TransportType { TransportType.Udp = 1, TransportType.Connectionless = 1, TransportType.Tcp = 2, TransportType.ConnectionOriented = 2, TransportType.All = 3 } |
Defines transport types for the T:System.Net.SocketPermission and T:System.Net.Sockets.Socket classes. More... | |
enum | TriState { Unspecified = -1, False, True } |
enum | WebExceptionInternalStatus { RequestFatal, ServicePointFatal, Recoverable, Isolated } |
enum | WebExceptionStatus { WebExceptionStatus.Success, WebExceptionStatus.NameResolutionFailure, WebExceptionStatus.ConnectFailure, WebExceptionStatus.ReceiveFailure, WebExceptionStatus.SendFailure, WebExceptionStatus.PipelineFailure, WebExceptionStatus.RequestCanceled, WebExceptionStatus.ProtocolError, WebExceptionStatus.ConnectionClosed, WebExceptionStatus.TrustFailure, WebExceptionStatus.SecureChannelFailure, WebExceptionStatus.ServerProtocolViolation, WebExceptionStatus.KeepAliveFailure, WebExceptionStatus.Pending, WebExceptionStatus.Timeout, WebExceptionStatus.ProxyNameResolutionFailure, WebExceptionStatus.UnknownError, WebExceptionStatus.MessageLengthLimitExceeded, WebExceptionStatus.CacheEntryNotFound, WebExceptionStatus.RequestProhibitedByCachePolicy, WebExceptionStatus.RequestProhibitedByProxy } |
Defines status codes for the T:System.Net.WebException class. More... | |
enum | WebHeaderCollectionType : ushort { Unknown, WebRequest, WebResponse, HttpWebRequest, HttpWebResponse, HttpListenerRequest, HttpListenerResponse, FtpWebRequest, FtpWebResponse, FileWebRequest, FileWebResponse } |
enum | WebParseErrorCode { Generic, InvalidHeaderName, InvalidContentLength, IncompleteHeaderLine, CrLfError, InvalidChunkFormat, UnexpectedServerResponse } |
enum | WebParseErrorSection { Generic, ResponseHeader, ResponseStatusLine, ResponseBody } |
enum | WindowsInstallationType { Unknown, Client, Server, ServerCore, Embedded } |
enum | WriteBufferState { Disabled, Headers, Buffer, Playback } |
Functions | |
internal delegate void | AsyncProtocolCallback (AsyncProtocolRequest asyncRequest) |
delegate AuthenticationSchemes | AuthenticationSchemeSelector (HttpListenerRequest httpRequest) |
Selects the authentication scheme for an T:System.Net.HttpListener instance. More... | |
delegate IPEndPoint | BindIPEndPoint (ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount) |
Represents the method that specifies a local Internet Protocol address and port number for a T:System.Net.ServicePoint. More... | |
internal delegate void | CompletionDelegate (byte[] responseBytes, Exception exception, object State) |
internal delegate PooledStream | CreateConnectionDelegate (ConnectionPool pool) |
delegate void | DownloadDataCompletedEventHandler (object sender, DownloadDataCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.DownloadDataCompleted event of a T:System.Net.WebClient. More... | |
delegate void | DownloadProgressChangedEventHandler (object sender, DownloadProgressChangedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.DownloadProgressChanged event of a T:System.Net.WebClient. More... | |
delegate void | DownloadStringCompletedEventHandler (object sender, DownloadStringCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.DownloadStringCompleted event of a T:System.Net.WebClient. More... | |
internal delegate void | GeneralAsyncDelegate (object request, object state) |
internal delegate string [] | HeaderParser (string value) |
internal delegate bool | HttpAbortDelegate (HttpWebRequest request, WebException webException) |
delegate void | HttpContinueDelegate (int StatusCode, WebHeaderCollection httpHeaders) |
Represents the method that notifies callers when a continue response is received by the client. More... | |
delegate void | OpenReadCompletedEventHandler (object sender, OpenReadCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.OpenReadCompleted event of a T:System.Net.WebClient. More... | |
delegate void | OpenWriteCompletedEventHandler (object sender, OpenWriteCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.OpenWriteCompleted event of a T:System.Net.WebClient. More... | |
internal delegate void | UnlockConnectionDelegate () |
delegate void | UploadDataCompletedEventHandler (object sender, UploadDataCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.UploadDataCompleted event of a T:System.Net.WebClient. More... | |
delegate void | UploadFileCompletedEventHandler (object sender, UploadFileCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.UploadFileCompleted event of a T:System.Net.WebClient. More... | |
delegate void | UploadProgressChangedEventHandler (object sender, UploadProgressChangedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.UploadProgressChanged event of a T:System.Net.WebClient. More... | |
delegate void | UploadStringCompletedEventHandler (object sender, UploadStringCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.UploadStringCompleted event of a T:System.Net.WebClient. More... | |
delegate void | UploadValuesCompletedEventHandler (object sender, UploadValuesCompletedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.UploadValuesCompleted event of a T:System.Net.WebClient. More... | |
delegate void | WriteStreamClosedEventHandler (object sender, WriteStreamClosedEventArgs e) |
Represents the method that will handle the E:System.Net.WebClient.WriteStreamClosed event of a T:System.Net.WebClient. More... | |
|
strong |
Specifies protocols for authentication.
Definition at line 6 of file AuthenticationSchemes.cs.
|
strong |
Represents the file compression and decompression encoding format to be used to compress the data received in response to an T:System.Net.HttpWebRequest.
Enumerator | |
---|---|
None | Do not use compression. |
GZip | Use the gZip compression-decompression algorithm. |
Deflate | Use the deflate compression-decompression algorithm. |
Definition at line 6 of file DecompressionMethods.cs.
|
strong |
Specifies the status codes returned for a File Transfer Protocol (FTP) operation.
Definition at line 4 of file FtpStatusCode.cs.
|
strong |
The HTTP headers that may be specified in a client request.
Enumerator | |
---|---|
CacheControl | The Cache-Control header, which specifies directives that must be obeyed by all cache control mechanisms along the request/response chain. |
Connection | The Connection header, which specifies options that are desired for a particular connection. |
Date | The Date header, which specifies the date and time at which the request originated. |
KeepAlive | The Keep-Alive header, which specifies a parameter used into order to maintain a persistent connection. |
Pragma | The Pragma header, which specifies implementation-specific directives that might apply to any agent along the request/response chain. |
Trailer | The Trailer header, which specifies the header fields present in the trailer of a message encoded with chunked transfer-coding. |
TransferEncoding | The Transfer-Encoding header, which specifies what (if any) type of transformation that has been applied to the message body. |
Upgrade | The Upgrade header, which specifies additional communications protocols that the client supports. |
Via | The Via header, which specifies intermediate protocols to be used by gateway and proxy agents. |
Warning | The Warning header, which specifies additional information about that status or transformation of a message that might not be reflected in the message. |
Allow | The Allow header, which specifies the set of HTTP methods supported. |
ContentLength | The Content-Length header, which specifies the length, in bytes, of the accompanying body data. |
ContentType | The Content-Type header, which specifies the MIME type of the accompanying body data. |
ContentEncoding | The Content-Encoding header, which specifies the encodings that have been applied to the accompanying body data. |
ContentLanguage | The Content-Langauge header, which specifies the natural language(s) of the accompanying body data. |
ContentLocation | The Content-Location header, which specifies a URI from which the accompanying body may be obtained. |
ContentMd5 | The Content-MD5 header, which specifies the MD5 digest of the accompanying body data, for the purpose of providing an end-to-end message integrity check. |
ContentRange | The Content-Range header, which specifies where in the full body the accompanying partial body data should be applied. |
Expires | The Expires header, which specifies the date and time after which the accompanying body data should be considered stale. |
LastModified | The Last-Modified header, which specifies the date and time at which the accompanying body data was last modified. |
Accept | The Accept header, which specifies the MIME types that are acceptable for the response. |
AcceptCharset | The Accept-Charset header, which specifies the character sets that are acceptable for the response. |
AcceptEncoding | The Accept-Encoding header, which specifies the content encodings that are acceptable for the response. |
AcceptLanguage | The Accept-Langauge header, which specifies that natural languages that are preferred for the response. |
Authorization | The Authorization header, which specifies the credentials that the client presents in order to authenticate itself to the server. |
Cookie | The Cookie header, which specifies cookie data presented to the server. |
Expect | The Expect header, which specifies particular server behaviors that are required by the client. |
From | The From header, which specifies an Internet E-mail address for the human user who controls the requesting user agent. |
Host | The Host header, which specifies the host name and port number of the resource being requested. |
IfMatch | The If-Match header, which specifies that the requested operation should be performed only if the client's cached copy of the indicated resource is current. |
IfModifiedSince | The If-Modified-Since header, which specifies that the requested operation should be performed only if the requested resource has been modified since the indicated data and time. |
IfNoneMatch | The If-None-Match header, which specifies that the requested operation should be performed only if none of client's cached copies of the indicated resources are current. |
IfRange | The If-Range header, which specifies that only the specified range of the requested resource should be sent, if the client's cached copy is current. |
IfUnmodifiedSince | The If-Unmodified-Since header, which specifies that the requested operation should be performed only if the requested resource has not been modified since the indicated date and time. |
MaxForwards | The Max-Forwards header, which specifies an integer indicating the remaining number of times that this request may be forwarded. |
ProxyAuthorization | The Proxy-Authorization header, which specifies the credentials that the client presents in order to authenticate itself to a proxy. |
Referer | The Referer header, which specifies the URI of the resource from which the request URI was obtained. |
Range | The Range header, which specifies the the sub-range(s) of the response that the client requests be returned in lieu of the entire response. |
Te | The TE header, which specifies the transfer encodings that are acceptable for the response. |
Translate | The Translate header, a Microsoft extension to the HTTP specification used in conjunction with WebDAV functionality. |
UserAgent | The User-Agent header, which specifies information about the client agent. |
Definition at line 5 of file HttpRequestHeader.cs.
|
strong |
The HTTP headers that can be specified in a server response.
Definition at line 5 of file HttpResponseHeader.cs.
|
strong |
Contains the values of status codes defined for HTTP.
Definition at line 5 of file HttpStatusCode.cs.
|
strong |
Specifies network access permissions.
Definition at line 5 of file NetworkAccess.cs.
|
strong |
Specifies the security protocols that are supported by the Schannel security package.
Enumerator | |
---|---|
SystemDefault | Specifies the system default security protocol as defined by Schannel. |
Ssl3 | Specifies the Secure Socket Layer (SSL) 3.0 security protocol. |
Tls | Specifies the Transport Layer Security (TLS) 1.0 security protocol. |
Tls11 | Specifies the Transport Layer Security (TLS) 1.1 security protocol. |
Tls12 | Specifies the Transport Layer Security (TLS) 1.2 security protocol. |
Definition at line 5 of file SecurityProtocolType.cs.
|
strong |
Defines transport types for the T:System.Net.SocketPermission and T:System.Net.Sockets.Socket classes.
Definition at line 4 of file TransportType.cs.
|
strong |
Defines status codes for the T:System.Net.WebException class.
Definition at line 5 of file WebExceptionStatus.cs.
delegate AuthenticationSchemes System.Net.AuthenticationSchemeSelector | ( | HttpListenerRequest | httpRequest | ) |
Selects the authentication scheme for an T:System.Net.HttpListener instance.
httpRequest | The T:System.Net.HttpListenerRequest instance for which to select an authentication scheme. |
delegate IPEndPoint System.Net.BindIPEndPoint | ( | ServicePoint | servicePoint, |
IPEndPoint | remoteEndPoint, | ||
int | retryCount | ||
) |
Represents the method that specifies a local Internet Protocol address and port number for a T:System.Net.ServicePoint.
servicePoint | The T:System.Net.ServicePoint associated with the connection to be created. |
remoteEndPoint | The remote T:System.Net.IPEndPoint that specifies the remote host. |
retryCount | The number of times this delegate was called for a specified connection. |
T:System.OverflowException | retryCount is equal to F:System.Int32.MaxValue |
delegate void System.Net.DownloadDataCompletedEventHandler | ( | object | sender, |
DownloadDataCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.DownloadDataCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.DownloadDataCompletedEventArgs containing event data. |
delegate void System.Net.DownloadProgressChangedEventHandler | ( | object | sender, |
DownloadProgressChangedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.DownloadProgressChanged event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.DownloadProgressChangedEventArgs containing event data. |
delegate void System.Net.DownloadStringCompletedEventHandler | ( | object | sender, |
DownloadStringCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.DownloadStringCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.DownloadStringCompletedEventArgs that contains event data. |
delegate void System.Net.HttpContinueDelegate | ( | int | StatusCode, |
WebHeaderCollection | httpHeaders | ||
) |
Represents the method that notifies callers when a continue response is received by the client.
StatusCode | The numeric value of the HTTP status from the server. |
httpHeaders | The headers returned with the 100-continue response from the server. |
delegate void System.Net.OpenReadCompletedEventHandler | ( | object | sender, |
OpenReadCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.OpenReadCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.OpenReadCompletedEventArgs containing event data. |
delegate void System.Net.OpenWriteCompletedEventHandler | ( | object | sender, |
OpenWriteCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.OpenWriteCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.OpenWriteCompletedEventArgs containing event data. |
delegate void System.Net.UploadDataCompletedEventHandler | ( | object | sender, |
UploadDataCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.UploadDataCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.UploadDataCompletedEventArgs containing event data. |
delegate void System.Net.UploadFileCompletedEventHandler | ( | object | sender, |
UploadFileCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.UploadFileCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.UploadFileCompletedEventArgs that contains event data. |
delegate void System.Net.UploadProgressChangedEventHandler | ( | object | sender, |
UploadProgressChangedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.UploadProgressChanged event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.UploadProgressChangedEventArgs containing event data. |
delegate void System.Net.UploadStringCompletedEventHandler | ( | object | sender, |
UploadStringCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.UploadStringCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.UploadStringCompletedEventArgs containing event data. |
delegate void System.Net.UploadValuesCompletedEventHandler | ( | object | sender, |
UploadValuesCompletedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.UploadValuesCompleted event of a T:System.Net.WebClient.
sender | The source of the event. |
e | A T:System.Net.UploadValuesCompletedEventArgs that contains event data. |
delegate void System.Net.WriteStreamClosedEventHandler | ( | object | sender, |
WriteStreamClosedEventArgs | e | ||
) |
Represents the method that will handle the E:System.Net.WebClient.WriteStreamClosed event of a T:System.Net.WebClient.