| Silverlight 5 | WinRT |
| public class AuthenticationManager | |
| static public ICredentialPolicy CredentialPolicy { get; set; } | |
| static public StringDictionary CustomTargetNameDictionary { get; } | |
| static public IEnumerator RegisteredModules { get; } | |
| static public Authorization Authenticate(String challenge, WebRequest request, ICredentials credentials); | |
| static public Authorization PreAuthenticate(WebRequest request, ICredentials credentials); | |
| static public void Register(IAuthenticationModule authenticationModule); | |
| static public void Unregister(IAuthenticationModule authenticationModule); | |
| static public void Unregister(String authenticationScheme); |
| public sealed enum AuthenticationSchemes | |
| : IComparable, IFormattable, IConvertible | |
| { None, Digest, Negotiate, Ntlm, Basic, Anonymous, IntegratedWindowsAuthentication } |
| public sealed class AuthenticationSchemeSelector | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(HttpListenerRequest httpRequest, AsyncCallback callback, Object object); | |
| public virtual AuthenticationSchemes EndInvoke(IAsyncResult result); | |
| public virtual AuthenticationSchemes Invoke(HttpListenerRequest httpRequest); |
| public class Authorization | |
| public Boolean Complete { get; } | |
| public String ConnectionGroupId { get; } | |
| public String Message { get; } | |
| public Boolean MutuallyAuthenticated { get; set; } | |
| public String ProtectionRealm { get; set; } |
| sealed enum BaseWebProxyFinder | |
| : IComparable, IFormattable, IConvertible | |
| { Uninitialized, DiscoveryFailure, DownloadFailure, CompilationFailure, UnrecognizedScheme, Completed } |
| public sealed class BindIPEndPoint | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(ServicePoint servicePoint, IPEndPoint remoteEndPoint, Int32 retryCount, AsyncCallback callback, Object object); | |
| public virtual IPEndPoint EndInvoke(IAsyncResult result); | |
| public virtual IPEndPoint Invoke(ServicePoint servicePoint, IPEndPoint remoteEndPoint, Int32 retryCount); |
| public sealed class Cookie | public sealed class Cookie |
| public String Comment { get; set; } | public String Comment { get; set; } |
| public Uri CommentUri { get; set; } | public Uri CommentUri { get; set; } |
| public Boolean Discard { get; set; } | public Boolean Discard { get; set; } |
| public String Domain { get; set; } | public String Domain { get; set; } |
| public Boolean Expired { get; set; } | public Boolean Expired { get; set; } |
| public DateTime Expires { get; set; } | public DateTime Expires { get; set; } |
| public Boolean HttpOnly { get; set; } | public Boolean HttpOnly { get; set; } |
| public String Name { get; set; } | public String Name { get; set; } |
| public String Path { get; set; } | public String Path { get; set; } |
| public String Port { get; set; } | public String Port { get; set; } |
| public Boolean Secure { get; set; } | public Boolean Secure { get; set; } |
| public DateTime TimeStamp { get; } | public DateTime TimeStamp { get; } |
| public String Value { get; set; } | public String Value { get; set; } |
| public Int32 Version { get; set; } | public Int32 Version { get; set; } |
| public virtual Boolean Equals(Object comparand); | public virtual Boolean Equals(Object comparand); |
| public virtual Int32 GetHashCode(); | public virtual Int32 GetHashCode(); |
| public virtual String ToString(); | public virtual String ToString(); |
| public sealed class CookieCollection | public class CookieCollection |
| : ICollection, IEnumerable | : ICollection, IEnumerable |
| public virtual Int32 Count { get; } | public virtual Int32 Count { get; } |
| public Boolean IsReadOnly { get; } | public Boolean IsReadOnly { get; } |
| public virtual Boolean IsSynchronized { get; } | public virtual Boolean IsSynchronized { get; } |
| public Cookie Item { get; } | public Cookie Item { get; } |
| public Cookie Item { get; } | |
| public virtual Object SyncRoot { get; } | public virtual Object SyncRoot { get; } |
| public void Add(Cookie cookie); | public void Add(Cookie cookie); |
| public void Add(CookieCollection cookies); | public void Add(CookieCollection cookies); |
| public virtual void CopyTo(Array array, Int32 index); | public virtual void CopyTo(Array array, Int32 index); |
| public void CopyTo(Cookie array, Int32 index); | |
| public virtual IEnumerator GetEnumerator(); | public virtual IEnumerator GetEnumerator(); |
| public sealed class CookieContainer | public class CookieContainer |
| public Int32 Capacity { get; } | public Int32 Capacity { get; set; } |
| public Int32 Count { get; } | public Int32 Count { get; } |
| public Int32 MaxCookieSize { get; } | public Int32 MaxCookieSize { get; set; } |
| public Int32 PerDomainCapacity { get; } | public Int32 PerDomainCapacity { get; set; } |
| public void Add(Cookie cookie); | |
| public void Add(CookieCollection cookies); | |
| public void Add(Uri uri, Cookie cookie); | public void Add(Uri uri, Cookie cookie); |
| public void Add(Uri uri, CookieCollection cookies); | public void Add(Uri uri, CookieCollection cookies); |
| public String GetCookieHeader(Uri uri); | public String GetCookieHeader(Uri uri); |
| public CookieCollection GetCookies(Uri uri); | public CookieCollection GetCookies(Uri uri); |
| public void SetCookies(Uri uri, String cookieHeader); | public void SetCookies(Uri uri, String cookieHeader); |
| public class CookieException | public class CookieException |
| : FormatException, _Exception | : FormatException, ISerializable, _Exception |
| public class CredentialCache | |
| : ICredentials, ICredentialsByHost, IEnumerable | |
| static public ICredentials DefaultCredentials { get; } | |
| static public NetworkCredential DefaultNetworkCredentials { get; } | |
| public void Add(Uri uriPrefix, String authType, NetworkCredential cred); | |
| public void Add(String host, Int32 port, String authenticationType, NetworkCredential credential); | |
| public virtual NetworkCredential GetCredential(Uri uriPrefix, String authType); | |
| public virtual NetworkCredential GetCredential(String host, Int32 port, String authenticationType); | |
| public virtual IEnumerator GetEnumerator(); | |
| public void Remove(Uri uriPrefix, String authType); | |
| public void Remove(String host, Int32 port, String authenticationType); |
| public sealed enum DecompressionMethods | |
| : IComparable, IFormattable, IConvertible | |
| { None, GZip, Deflate } |
| public abstract sealed class Dns | |
| static public IAsyncResult BeginGetHostAddresses(String hostNameOrAddress, AsyncCallback requestCallback, Object state); | |
| static public IAsyncResult BeginGetHostByName(String hostName, AsyncCallback requestCallback, Object stateObject); | |
| static public IAsyncResult BeginGetHostEntry(String hostNameOrAddress, AsyncCallback requestCallback, Object stateObject); | |
| static public IAsyncResult BeginGetHostEntry(IPAddress address, AsyncCallback requestCallback, Object stateObject); | |
| static public IAsyncResult BeginResolve(String hostName, AsyncCallback requestCallback, Object stateObject); | |
| static public IPAddress EndGetHostAddresses(IAsyncResult asyncResult); | |
| static public IPHostEntry EndGetHostByName(IAsyncResult asyncResult); | |
| static public IPHostEntry EndGetHostEntry(IAsyncResult asyncResult); | |
| static public IPHostEntry EndResolve(IAsyncResult asyncResult); | |
| static public IPAddress GetHostAddresses(String hostNameOrAddress); | |
| static public Task`1<IPAddress> GetHostAddressesAsync(String hostNameOrAddress); | |
| static public IPHostEntry GetHostByAddress(String address); | |
| static public IPHostEntry GetHostByAddress(IPAddress address); | |
| static public IPHostEntry GetHostByName(String hostName); | |
| static public IPHostEntry GetHostEntry(String hostNameOrAddress); | |
| static public IPHostEntry GetHostEntry(IPAddress address); | |
| static public Task`1<IPHostEntry> GetHostEntryAsync(IPAddress address); | |
| static public Task`1<IPHostEntry> GetHostEntryAsync(String hostNameOrAddress); | |
| static public String GetHostName(); | |
| static public IPHostEntry Resolve(String hostName); |
| public sealed class DnsEndPoint | public class DnsEndPoint |
| : EndPoint | : EndPoint |
| public virtual AddressFamily AddressFamily { get; } | public virtual AddressFamily AddressFamily { get; } |
| public String Host { get; } | public String Host { get; } |
| public Int32 Port { get; } | public Int32 Port { get; } |
| public virtual Boolean Equals(Object comparand); | public virtual Boolean Equals(Object comparand); |
| public virtual Int32 GetHashCode(); | public virtual Int32 GetHashCode(); |
| public virtual String ToString(); | public virtual String ToString(); |
| public sealed class DnsPermission | |
| : CodeAccessPermission, IPermission, ISecurityEncodable, IStackWalk, IUnrestrictedPermission | |
| public virtual IPermission Copy(); | |
| public virtual void FromXml(SecurityElement securityElement); | |
| public virtual IPermission Intersect(IPermission target); | |
| public virtual Boolean IsSubsetOf(IPermission target); | |
| public virtual Boolean IsUnrestricted(); | |
| public virtual SecurityElement ToXml(); | |
| public virtual IPermission Union(IPermission target); |
| public sealed class DnsPermissionAttribute | |
| : CodeAccessSecurityAttribute, _Attribute | |
| public virtual IPermission CreatePermission(); |
| public class DownloadDataCompletedEventArgs | |
| : AsyncCompletedEventArgs | |
| public Byte Result { get; } |
| public sealed class DownloadDataCompletedEventHandler | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(Object sender, DownloadDataCompletedEventArgs e, AsyncCallback callback, Object object); | |
| public virtual void EndInvoke(IAsyncResult result); | |
| public virtual void Invoke(Object sender, DownloadDataCompletedEventArgs e); |
| public class DownloadProgressChangedEventArgs | public class DownloadProgressChangedEventArgs |
| : ProgressChangedEventArgs | : ProgressChangedEventArgs |
| public Int64 BytesReceived { get; } | public Int64 BytesReceived { get; } |
| public Int64 TotalBytesToReceive { get; } | public Int64 TotalBytesToReceive { get; } |
| public sealed class DownloadProgressChangedEventHandler | public sealed class DownloadProgressChangedEventHandler |
| : MulticastDelegate, ICloneable | : MulticastDelegate, ICloneable, ISerializable |
| public virtual IAsyncResult BeginInvoke(Object sender, DownloadProgressChangedEventArgs e, AsyncCallback callback, Object object); | public virtual IAsyncResult BeginInvoke(Object sender, DownloadProgressChangedEventArgs e, AsyncCallback callback, Object object); |
| public virtual void EndInvoke(IAsyncResult result); | public virtual void EndInvoke(IAsyncResult result); |
| public virtual void Invoke(Object sender, DownloadProgressChangedEventArgs e); | public virtual void Invoke(Object sender, DownloadProgressChangedEventArgs e); |
| public class DownloadStringCompletedEventArgs | public class DownloadStringCompletedEventArgs |
| : AsyncCompletedEventArgs | : AsyncCompletedEventArgs |
| public String Result { get; } | public String Result { get; } |
| public sealed class DownloadStringCompletedEventHandler | public sealed class DownloadStringCompletedEventHandler |
| : MulticastDelegate, ICloneable | : MulticastDelegate, ICloneable, ISerializable |
| public virtual IAsyncResult BeginInvoke(Object sender, DownloadStringCompletedEventArgs e, AsyncCallback callback, Object object); | public virtual IAsyncResult BeginInvoke(Object sender, DownloadStringCompletedEventArgs e, AsyncCallback callback, Object object); |
| public virtual void EndInvoke(IAsyncResult result); | public virtual void EndInvoke(IAsyncResult result); |
| public virtual void Invoke(Object sender, DownloadStringCompletedEventArgs e); | public virtual void Invoke(Object sender, DownloadStringCompletedEventArgs e); |
| public abstract class EndPoint | public abstract class EndPoint |
| public virtual AddressFamily AddressFamily { get; } | public virtual AddressFamily AddressFamily { get; } |
| public virtual EndPoint Create(SocketAddress socketAddress); | public virtual EndPoint Create(SocketAddress socketAddress); |
| public virtual SocketAddress Serialize(); | public virtual SocketAddress Serialize(); |
| public class EndpointPermission | |
| public String Hostname { get; } | |
| public Int32 Port { get; } | |
| public TransportType Transport { get; } | |
| public virtual Boolean Equals(Object obj); | |
| public virtual Int32 GetHashCode(); | |
| public virtual String ToString(); |
| sealed class HttpListener | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(HttpListenerRequest request, AsyncCallback callback, Object object); | |
| public virtual ExtendedProtectionPolicy EndInvoke(IAsyncResult result); | |
| public virtual ExtendedProtectionPolicy Invoke(HttpListenerRequest request); |
| abstract sealed class WebRequestMethods | |
| public class FileWebRequest | |
| : WebRequest, ISerializable | |
| public virtual String ConnectionGroupName { get; set; } | |
| public virtual Int64 ContentLength { get; set; } | |
| public virtual String ContentType { get; set; } | |
| public virtual ICredentials Credentials { get; set; } | |
| public virtual WebHeaderCollection Headers { get; } | |
| public virtual String Method { get; set; } | |
| public virtual Boolean PreAuthenticate { get; set; } | |
| public virtual IWebProxy Proxy { get; set; } | |
| public virtual Uri RequestUri { get; } | |
| public virtual Int32 Timeout { get; set; } | |
| public virtual Boolean UseDefaultCredentials { get; set; } | |
| public virtual void Abort(); | |
| public virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state); | |
| public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, Object state); | |
| public virtual Stream EndGetRequestStream(IAsyncResult asyncResult); | |
| public virtual WebResponse EndGetResponse(IAsyncResult asyncResult); | |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public virtual Stream GetRequestStream(); | |
| public virtual WebResponse GetResponse(); |
| public class FileWebResponse | |
| : WebResponse, ISerializable, IDisposable, ICloseEx | |
| public virtual Int64 ContentLength { get; } | |
| public virtual String ContentType { get; } | |
| public virtual WebHeaderCollection Headers { get; } | |
| public virtual Uri ResponseUri { get; } | |
| public virtual Boolean SupportsHeaders { get; } | |
| public virtual void Close(); | |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public virtual Stream GetResponseStream(); |
| sealed enum SecureCredential | |
| : IComparable, IFormattable, IConvertible | |
| { Zero, NoSystemMapper, NoNameCheck, ValidateManual, NoDefaultCred, ValidateAuto } |
| public sealed enum FtpStatusCode | |
| : IComparable, IFormattable, IConvertible | |
| { Undefined, RestartMarker, ServiceTemporarilyNotAvailable, DataAlreadyOpen, OpeningData, CommandOK, CommandExtraneous, DirectoryStatus, FileStatus, SystemType, SendUserCommand, ClosingControl, ClosingData, EnteringPassive, LoggedInProceed, ServerWantsSecureSession, FileActionOK, PathnameCreated, SendPasswordCommand, NeedLoginAccount, FileCommandPending, ServiceNotAvailable, CantOpenData, ConnectionClosed, ActionNotTakenFileUnavailableOrBusy, ActionAbortedLocalProcessingError, ActionNotTakenInsufficientSpace, CommandSyntaxError, ArgumentSyntaxError, CommandNotImplemented, BadCommandSequence, NotLoggedIn, AccountNeeded, ActionNotTakenFileUnavailable, ActionAbortedUnknownPageType, FileActionAborted, ActionNotTakenFilenameNotAllowed } |
| public sealed class FtpWebRequest | |
| : WebRequest, ISerializable | |
| public X509CertificateCollection ClientCertificates { get; set; } | |
| public virtual String ConnectionGroupName { get; set; } | |
| public virtual Int64 ContentLength { get; set; } | |
| public Int64 ContentOffset { get; set; } | |
| public virtual String ContentType { get; set; } | |
| public virtual ICredentials Credentials { get; set; } | |
| static public RequestCachePolicy DefaultCachePolicy { get; set; } | |
| public Boolean EnableSsl { get; set; } | |
| public virtual WebHeaderCollection Headers { get; set; } | |
| public Boolean KeepAlive { get; set; } | |
| public virtual String Method { get; set; } | |
| public virtual Boolean PreAuthenticate { get; set; } | |
| public virtual IWebProxy Proxy { get; set; } | |
| public Int32 ReadWriteTimeout { get; set; } | |
| public String RenameTo { get; set; } | |
| public virtual Uri RequestUri { get; } | |
| public ServicePoint ServicePoint { get; } | |
| public virtual Int32 Timeout { get; set; } | |
| public Boolean UseBinary { get; set; } | |
| public virtual Boolean UseDefaultCredentials { get; set; } | |
| public Boolean UsePassive { get; set; } | |
| public virtual void Abort(); | |
| public virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state); | |
| public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, Object state); | |
| public virtual Stream EndGetRequestStream(IAsyncResult asyncResult); | |
| public virtual WebResponse EndGetResponse(IAsyncResult asyncResult); | |
| public virtual Stream GetRequestStream(); | |
| public virtual WebResponse GetResponse(); |
| public class FtpWebResponse | |
| : WebResponse, ISerializable, IDisposable | |
| public String BannerMessage { get; } | |
| public virtual Int64 ContentLength { get; } | |
| public String ExitMessage { get; } | |
| public virtual WebHeaderCollection Headers { get; } | |
| public DateTime LastModified { get; } | |
| public virtual Uri ResponseUri { get; } | |
| public FtpStatusCode StatusCode { get; } | |
| public String StatusDescription { get; } | |
| public virtual Boolean SupportsHeaders { get; } | |
| public String WelcomeMessage { get; } | |
| public virtual void Close(); | |
| public virtual Stream GetResponseStream(); |
| public class GlobalProxySelection | |
| static public IWebProxy Select { get; set; } | |
| static public IWebProxy GetEmptyWebProxy(); |
| public sealed class HttpContinueDelegate | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(Int32 StatusCode, WebHeaderCollection httpHeaders, AsyncCallback callback, Object object); | |
| public virtual void EndInvoke(IAsyncResult result); | |
| public virtual void Invoke(Int32 StatusCode, WebHeaderCollection httpHeaders); |
| public sealed class HttpListener | |
| : IDisposable | |
| public AuthenticationSchemes AuthenticationSchemes { get; set; } | |
| public AuthenticationSchemeSelector AuthenticationSchemeSelectorDelegate { get; set; } | |
| public ServiceNameCollection DefaultServiceNames { get; } | |
| public ExtendedProtectionPolicy ExtendedProtectionPolicy { get; set; } | |
| public ExtendedProtectionSelector ExtendedProtectionSelectorDelegate { get; set; } | |
| public Boolean IgnoreWriteExceptions { get; set; } | |
| public Boolean IsListening { get; } | |
| static public Boolean IsSupported { get; } | |
| public HttpListenerPrefixCollection Prefixes { get; } | |
| public String Realm { get; set; } | |
| public HttpListenerTimeoutManager TimeoutManager { get; } | |
| public Boolean UnsafeConnectionNtlmAuthentication { get; set; } | |
| public void Abort(); | |
| public IAsyncResult BeginGetContext(AsyncCallback callback, Object state); | |
| public void Close(); | |
| public HttpListenerContext EndGetContext(IAsyncResult asyncResult); | |
| public HttpListenerContext GetContext(); | |
| public Task`1<HttpListenerContext> GetContextAsync(); | |
| public void Start(); | |
| public void Stop(); |
| public class HttpListenerBasicIdentity | |
| : GenericIdentity, IIdentity, ISerializable | |
| public virtual String Password { get; } |
| public sealed class HttpListenerContext | |
| public HttpListenerRequest Request { get; } | |
| public HttpListenerResponse Response { get; } | |
| public IPrincipal User { get; } | |
| public Task`1<HttpListenerWebSocketContext> AcceptWebSocketAsync(String subProtocol); | |
| public Task`1<HttpListenerWebSocketContext> AcceptWebSocketAsync(String subProtocol, Int32 receiveBufferSize, Int32 sendBufferSize, TimeSpan pingFrequency); | |
| public Task`1<HttpListenerWebSocketContext> AcceptWebSocketAsync(String subProtocol, Int32 receiveBufferSize, Int32 sendBufferSize, TimeSpan pingFrequency, Byte internalBuffer); |
| public class HttpListenerException | |
| : Win32Exception, ISerializable, _Exception | |
| public virtual Int32 ErrorCode { get; } |
| public class HttpListenerPrefixCollection | |
| : ICollection`1<String>, IEnumerable`1<String>, IEnumerable | |
| public virtual Int32 Count { get; } | |
| public virtual Boolean IsReadOnly { get; } | |
| public Boolean IsSynchronized { get; } | |
| public virtual void Add(String uriPrefix); | |
| public virtual void Clear(); | |
| public virtual Boolean Contains(String uriPrefix); | |
| public void CopyTo(Array array, Int32 offset); | |
| public virtual void CopyTo(String array, Int32 offset); | |
| public virtual IEnumerator`1<String> GetEnumerator(); | |
| public virtual Boolean Remove(String uriPrefix); |
| public sealed class HttpListenerRequest | |
| public String AcceptTypes { get; } | |
| public Int32 ClientCertificateError { get; } | |
| public Encoding ContentEncoding { get; } | |
| public Int64 ContentLength64 { get; } | |
| public String ContentType { get; } | |
| public CookieCollection Cookies { get; } | |
| public Boolean HasEntityBody { get; } | |
| public NameValueCollection Headers { get; } | |
| public String HttpMethod { get; } | |
| public Stream InputStream { get; } | |
| public Boolean IsAuthenticated { get; } | |
| public Boolean IsLocal { get; } | |
| public Boolean IsSecureConnection { get; } | |
| public Boolean IsWebSocketRequest { get; } | |
| public Boolean KeepAlive { get; } | |
| public IPEndPoint LocalEndPoint { get; } | |
| public Version ProtocolVersion { get; } | |
| public NameValueCollection QueryString { get; } | |
| public String RawUrl { get; } | |
| public IPEndPoint RemoteEndPoint { get; } | |
| public Guid RequestTraceIdentifier { get; } | |
| public String ServiceName { get; set; } | |
| public TransportContext TransportContext { get; } | |
| public Uri Url { get; } | |
| public Uri UrlReferrer { get; } | |
| public String UserAgent { get; } | |
| public String UserHostAddress { get; } | |
| public String UserHostName { get; } | |
| public String UserLanguages { get; } | |
| public IAsyncResult BeginGetClientCertificate(AsyncCallback requestCallback, Object state); | |
| public X509Certificate2 EndGetClientCertificate(IAsyncResult asyncResult); | |
| public X509Certificate2 GetClientCertificate(); | |
| public Task`1<X509Certificate2> GetClientCertificateAsync(); |
| public sealed class HttpListenerResponse | |
| : IDisposable | |
| public Encoding ContentEncoding { get; set; } | |
| public Int64 ContentLength64 { get; set; } | |
| public String ContentType { get; set; } | |
| public CookieCollection Cookies { get; set; } | |
| public WebHeaderCollection Headers { get; set; } | |
| public Boolean KeepAlive { get; set; } | |
| public Stream OutputStream { get; } | |
| public Version ProtocolVersion { get; set; } | |
| public String RedirectLocation { get; set; } | |
| public Boolean SendChunked { get; set; } | |
| public Int32 StatusCode { get; set; } | |
| public String StatusDescription { get; set; } | |
| public void Abort(); | |
| public void AddHeader(String name, String value); | |
| public void AppendCookie(Cookie cookie); | |
| public void AppendHeader(String name, String value); | |
| public void Close(); | |
| public void Close(Byte responseEntity, Boolean willBlock); | |
| public void CopyFrom(HttpListenerResponse templateResponse); | |
| public void Redirect(String url); | |
| public void SetCookie(Cookie cookie); |
| public class HttpListenerTimeoutManager | |
| public TimeSpan DrainEntityBody { get; set; } | |
| public TimeSpan EntityBody { get; set; } | |
| public TimeSpan HeaderWait { get; set; } | |
| public TimeSpan IdleConnection { get; set; } | |
| public Int64 MinSendBytesPerSecond { get; set; } | |
| public TimeSpan RequestQueue { get; set; } |
| public sealed enum HttpRequestHeader | public sealed enum HttpRequestHeader |
| : IComparable, IFormattable, IConvertible | : IComparable, IFormattable, IConvertible |
| { 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 } | { 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 } |
| public sealed enum HttpResponseHeader | |
| : IComparable, IFormattable, IConvertible | |
| { 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 } |
| public sealed enum HttpStatusCode | public sealed enum HttpStatusCode |
| : IComparable, IFormattable, IConvertible | : IComparable, IFormattable, IConvertible |
| { 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, InternalServerError, NotImplemented, BadGateway, ServiceUnavailable, GatewayTimeout, HttpVersionNotSupported } | { 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, InternalServerError, NotImplemented, BadGateway, ServiceUnavailable, GatewayTimeout, HttpVersionNotSupported } |
| public class HttpVersion | |
| public abstract class HttpWebRequest | public class HttpWebRequest |
| : WebRequest | : WebRequest, ISerializable |
| public String Accept { get; set; } | public String Accept { get; set; } |
| public Uri Address { get; } | |
| public virtual Boolean AllowAutoRedirect { get; set; } | public Boolean AllowAutoRedirect { get; set; } |
| public virtual Boolean AllowReadStreamBuffering { get; set; } | public Boolean AllowReadStreamBuffering { get; set; } |
| public virtual Boolean AllowWriteStreamBuffering { get; set; } | public Boolean AllowWriteStreamBuffering { get; set; } |
| public DecompressionMethods AutomaticDecompression { get; set; } | |
| public X509CertificateCollection ClientCertificates { get; set; } | |
| public String Connection { get; set; } | |
| public virtual String ConnectionGroupName { get; set; } | |
| public virtual Int64 ContentLength { get; set; } | |
| public virtual String ContentType { get; set; } | public virtual String ContentType { get; set; } |
| public HttpContinueDelegate ContinueDelegate { get; set; } | |
| public Int32 ContinueTimeout { get; set; } | |
| public virtual CookieContainer CookieContainer { get; set; } | public CookieContainer CookieContainer { get; set; } |
| public virtual ICredentials Credentials { get; set; } | |
| public DateTime Date { get; set; } | |
| static public RequestCachePolicy DefaultCachePolicy { get; set; } | |
| static public Int32 DefaultMaximumErrorResponseLength { get; set; } | |
| static public Int32 DefaultMaximumResponseHeadersLength { get; set; } | |
| public String Expect { get; set; } | |
| public virtual Boolean HaveResponse { get; } | public Boolean HaveResponse { get; } |
| public virtual WebHeaderCollection Headers { get; set; } | public virtual WebHeaderCollection Headers { get; set; } |
| public String Host { get; set; } | |
| public DateTime IfModifiedSince { get; set; } | |
| public Boolean KeepAlive { get; set; } | |
| public Int32 MaximumAutomaticRedirections { get; set; } | |
| public Int32 MaximumResponseHeadersLength { get; set; } | |
| public String MediaType { get; set; } | |
| public virtual String Method { get; set; } | public virtual String Method { get; set; } |
| public Boolean Pipelined { get; set; } | |
| public virtual Boolean PreAuthenticate { get; set; } | |
| public Version ProtocolVersion { get; set; } | |
| public virtual IWebProxy Proxy { get; set; } | |
| public Int32 ReadWriteTimeout { get; set; } | |
| public String Referer { get; set; } | |
| public virtual Uri RequestUri { get; } | public virtual Uri RequestUri { get; } |
| public Boolean SendChunked { get; set; } | |
| public ServicePoint ServicePoint { get; } | |
| public virtual Boolean SupportsCookieContainer { get; } | public Boolean SupportsCookieContainer { get; } |
| public virtual Int32 Timeout { get; set; } | |
| public String TransferEncoding { get; set; } | |
| public Boolean UnsafeAuthenticatedConnectionSharing { get; set; } | |
| public virtual Boolean UseDefaultCredentials { get; set; } | |
| public String UserAgent { get; set; } | public String UserAgent { get; set; } |
| public virtual void Abort(); | public virtual void Abort(); |
| public void AddRange(Int32 from, Int32 to); | |
| public void AddRange(Int64 from, Int64 to); | |
| public void AddRange(Int32 range); | |
| public void AddRange(Int64 range); | |
| public void AddRange(String rangeSpecifier, Int32 from, Int32 to); | |
| public void AddRange(String rangeSpecifier, Int64 from, Int64 to); | |
| public void AddRange(String rangeSpecifier, Int32 range); | |
| public void AddRange(String rangeSpecifier, Int64 range); | |
| public virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state); | public virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state); |
| public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, Object state); | public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, Object state); |
| public virtual Stream EndGetRequestStream(IAsyncResult asyncResult); | public virtual Stream EndGetRequestStream(IAsyncResult asyncResult); |
| public Stream EndGetRequestStream(IAsyncResult asyncResult, out TransportContext& context); | |
| public virtual WebResponse EndGetResponse(IAsyncResult asyncResult); | public virtual WebResponse EndGetResponse(IAsyncResult asyncResult); |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public Stream GetRequestStream(out TransportContext& context); | |
| public virtual Stream GetRequestStream(); |
| public abstract class HttpWebResponse | public class HttpWebResponse |
| : WebResponse, IDisposable | : WebResponse, ISerializable, IDisposable |
| public String CharacterSet { get; } | |
| public String ContentEncoding { get; } | |
| public virtual Int64 ContentLength { get; } | |
| public virtual String ContentType { get; } | |
| public virtual CookieCollection Cookies { get; } | public CookieCollection Cookies { get; set; } |
| public virtual WebHeaderCollection Headers { get; } | |
| public virtual Boolean IsMutuallyAuthenticated { get; } | |
| public DateTime LastModified { get; } | |
| public virtual String Method { get; } | public String Method { get; } |
| public Version ProtocolVersion { get; } | |
| public virtual Uri ResponseUri { get; } | |
| public String Server { get; } | |
| public virtual HttpStatusCode StatusCode { get; } | public HttpStatusCode StatusCode { get; } |
| public virtual String StatusDescription { get; } | public String StatusDescription { get; } |
| public virtual Boolean SupportsHeaders { get; } | |
| public virtual void Close(); | |
| protected virtual void Dispose(Boolean disposing); | |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public String GetResponseHeader(String headerName); |
| public abstract interface IAuthenticationModule | |
| public abstract virtual String AuthenticationType { get; } | |
| public abstract virtual Boolean CanPreAuthenticate { get; } | |
| public abstract virtual Authorization Authenticate(String challenge, WebRequest request, ICredentials credentials); | |
| public abstract virtual Authorization PreAuthenticate(WebRequest request, ICredentials credentials); |
| public abstract interface ICertificatePolicy | |
| public abstract virtual Boolean CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, Int32 certificateProblem); |
| public abstract interface ICredentialPolicy | |
| public abstract virtual Boolean ShouldSendCredential(Uri challengeUri, WebRequest request, NetworkCredential credential, IAuthenticationModule authenticationModule); |
| public abstract interface ICredentials | public abstract interface ICredentials |
| public abstract virtual NetworkCredential GetCredential(Uri uri, String authType); | public abstract virtual NetworkCredential GetCredential(Uri uri, String authType); |
| public abstract interface ICredentialsByHost | |
| public abstract virtual NetworkCredential GetCredential(String host, Int32 port, String authenticationType); |
| public class IPAddress | public class IPAddress |
| public Int64 Address { get; set; } | public Int64 Address { get; set; } |
| public AddressFamily AddressFamily { get; } | public AddressFamily AddressFamily { get; } |
| public Boolean IsIPv4MappedToIPv6 { get; } | |
| public Boolean IsIPv6LinkLocal { get; } | public Boolean IsIPv6LinkLocal { get; } |
| public Boolean IsIPv6Multicast { get; } | public Boolean IsIPv6Multicast { get; } |
| public Boolean IsIPv6SiteLocal { get; } | public Boolean IsIPv6SiteLocal { get; } |
| public Boolean IsIPv6Teredo { get; } | |
| public Int64 ScopeId { get; set; } | public Int64 ScopeId { get; set; } |
| public virtual Boolean Equals(Object comparand); | public virtual Boolean Equals(Object comparand); |
| public Byte GetAddressBytes(); | public Byte GetAddressBytes(); |
| public virtual Int32 GetHashCode(); | public virtual Int32 GetHashCode(); |
| static public Int64 HostToNetworkOrder(Int64 host); | static public Int64 HostToNetworkOrder(Int64 host); |
| static public Int32 HostToNetworkOrder(Int32 host); | static public Int32 HostToNetworkOrder(Int32 host); |
| static public Int16 HostToNetworkOrder(Int16 host); | static public Int16 HostToNetworkOrder(Int16 host); |
| static public Boolean IsLoopback(IPAddress address); | static public Boolean IsLoopback(IPAddress address); |
| public IPAddress MapToIPv4(); | |
| public IPAddress MapToIPv6(); | |
| static public Int64 NetworkToHostOrder(Int64 network); | static public Int64 NetworkToHostOrder(Int64 network); |
| static public Int32 NetworkToHostOrder(Int32 network); | static public Int32 NetworkToHostOrder(Int32 network); |
| static public Int16 NetworkToHostOrder(Int16 network); | static public Int16 NetworkToHostOrder(Int16 network); |
| static public IPAddress Parse(String ipString); | static public IPAddress Parse(String ipString); |
| public virtual String ToString(); | public virtual String ToString(); |
| static public Boolean TryParse(String ipString, out IPAddress& address); | static public Boolean TryParse(String ipString, out IPAddress& address); |
| public class IPEndPoint | public class IPEndPoint |
| : EndPoint | : EndPoint |
| public IPAddress Address { get; set; } | public IPAddress Address { get; set; } |
| public virtual AddressFamily AddressFamily { get; } | public virtual AddressFamily AddressFamily { get; } |
| public Int32 Port { get; set; } | public Int32 Port { get; set; } |
| public virtual EndPoint Create(SocketAddress socketAddress); | public virtual EndPoint Create(SocketAddress socketAddress); |
| public virtual Boolean Equals(Object comparand); | public virtual Boolean Equals(Object comparand); |
| public virtual Int32 GetHashCode(); | public virtual Int32 GetHashCode(); |
| public virtual SocketAddress Serialize(); | public virtual SocketAddress Serialize(); |
| public virtual String ToString(); | public virtual String ToString(); |
| public class IPHostEntry | |
| public IPAddress AddressList { get; set; } | |
| public String Aliases { get; set; } | |
| public String HostName { get; set; } |
| public abstract interface IWebProxy | |
| public abstract virtual ICredentials Credentials { get; set; } | |
| public abstract virtual Uri GetProxy(Uri destination); | |
| public abstract virtual Boolean IsBypassed(Uri host); |
| public abstract interface IWebProxyScript | |
| public abstract virtual void Close(); | |
| public abstract virtual Boolean Load(Uri scriptLocation, String script, Type helperType); | |
| public abstract virtual String Run(String url, String host); |
| public abstract interface IWebRequestCreate | public abstract interface IWebRequestCreate |
| public abstract virtual WebRequest Create(Uri uri); | public abstract virtual WebRequest Create(Uri uri); |
| public sealed enum NetworkAccess | |
| : IComparable, IFormattable, IConvertible | |
| { Accept, Connect } |
| public class NetworkCredential | public class NetworkCredential |
| : ICredentials | : ICredentials, ICredentialsByHost |
| public String Domain { get; set; } | public String Domain { get; set; } |
| public String Password { get; set; } | public String Password { get; set; } |
| public SecureString SecurePassword { get; set; } | |
| public String UserName { get; set; } | public String UserName { get; set; } |
| public virtual NetworkCredential GetCredential(Uri uri, String authType); | public virtual NetworkCredential GetCredential(Uri uri, String authType); |
| public class OpenReadCompletedEventArgs | public class OpenReadCompletedEventArgs |
| : AsyncCompletedEventArgs | : AsyncCompletedEventArgs |
| public Stream Result { get; } | public Stream Result { get; } |
| public sealed class OpenReadCompletedEventHandler | public sealed class OpenReadCompletedEventHandler |
| : MulticastDelegate, ICloneable | : MulticastDelegate, ICloneable, ISerializable |
| public virtual IAsyncResult BeginInvoke(Object sender, OpenReadCompletedEventArgs e, AsyncCallback callback, Object object); | public virtual IAsyncResult BeginInvoke(Object sender, OpenReadCompletedEventArgs e, AsyncCallback callback, Object object); |
| public virtual void EndInvoke(IAsyncResult result); | public virtual void EndInvoke(IAsyncResult result); |
| public virtual void Invoke(Object sender, OpenReadCompletedEventArgs e); | public virtual void Invoke(Object sender, OpenReadCompletedEventArgs e); |
| public class OpenWriteCompletedEventArgs | public class OpenWriteCompletedEventArgs |
| : AsyncCompletedEventArgs | : AsyncCompletedEventArgs |
| public Stream Result { get; } | public Stream Result { get; } |
| public sealed class OpenWriteCompletedEventHandler | public sealed class OpenWriteCompletedEventHandler |
| : MulticastDelegate, ICloneable | : MulticastDelegate, ICloneable, ISerializable |
| public virtual IAsyncResult BeginInvoke(Object sender, OpenWriteCompletedEventArgs e, AsyncCallback callback, Object object); | public virtual IAsyncResult BeginInvoke(Object sender, OpenWriteCompletedEventArgs e, AsyncCallback callback, Object object); |
| public virtual void EndInvoke(IAsyncResult result); | public virtual void EndInvoke(IAsyncResult result); |
| public virtual void Invoke(Object sender, OpenWriteCompletedEventArgs e); | public virtual void Invoke(Object sender, OpenWriteCompletedEventArgs e); |
| public class ProtocolViolationException | public class ProtocolViolationException |
| : InvalidOperationException, _Exception | : InvalidOperationException, ISerializable, _Exception |
| public sealed enum SecurityProtocolType | |
| : IComparable, IFormattable, IConvertible | |
| { Ssl3, Tls } |
| public class ServicePoint | |
| public Uri Address { get; } | |
| public BindIPEndPoint BindIPEndPointDelegate { get; set; } | |
| public X509Certificate Certificate { get; } | |
| public X509Certificate ClientCertificate { get; } | |
| public Int32 ConnectionLeaseTimeout { get; set; } | |
| public Int32 ConnectionLimit { get; set; } | |
| public String ConnectionName { get; } | |
| public Int32 CurrentConnections { get; } | |
| public Boolean Expect100Continue { get; set; } | |
| public DateTime IdleSince { get; } | |
| public Int32 MaxIdleTime { get; set; } | |
| public virtual Version ProtocolVersion { get; } | |
| public Int32 ReceiveBufferSize { get; set; } | |
| public Boolean SupportsPipelining { get; } | |
| public Boolean UseNagleAlgorithm { get; set; } | |
| public Boolean CloseConnectionGroup(String connectionGroupName); | |
| public void SetTcpKeepAlive(Boolean enabled, Int32 keepAliveTime, Int32 keepAliveInterval); |
| public class ServicePointManager | |
| static public ICertificatePolicy CertificatePolicy { get; set; } | |
| static public Boolean CheckCertificateRevocationList { get; set; } | |
| static public Int32 DefaultConnectionLimit { get; set; } | |
| static public Int32 DnsRefreshTimeout { get; set; } | |
| static public Boolean EnableDnsRoundRobin { get; set; } | |
| static public EncryptionPolicy EncryptionPolicy { get; } | |
| static public Boolean Expect100Continue { get; set; } | |
| static public Int32 MaxServicePointIdleTime { get; set; } | |
| static public Int32 MaxServicePoints { get; set; } | |
| static public SecurityProtocolType SecurityProtocol { get; set; } | |
| static public RemoteCertificateValidationCallback ServerCertificateValidationCallback { get; set; } | |
| static public Boolean UseNagleAlgorithm { get; set; } | |
| static public ServicePoint FindServicePoint(Uri address); | |
| static public ServicePoint FindServicePoint(String uriString, IWebProxy proxy); | |
| static public ServicePoint FindServicePoint(Uri address, IWebProxy proxy); | |
| static public void SetTcpKeepAlive(Boolean enabled, Int32 keepAliveTime, Int32 keepAliveInterval); |
| public class SocketAddress | public class SocketAddress |
| public AddressFamily Family { get; } | public AddressFamily Family { get; } |
| public Byte Item { get; set; } | public Byte Item { get; set; } |
| public Int32 Size { get; } | public Int32 Size { get; } |
| public virtual Boolean Equals(Object comparand); | public virtual Boolean Equals(Object comparand); |
| public virtual Int32 GetHashCode(); | public virtual Int32 GetHashCode(); |
| public virtual String ToString(); | public virtual String ToString(); |
| public sealed class SocketPermission | |
| : CodeAccessPermission, IPermission, ISecurityEncodable, IStackWalk, IUnrestrictedPermission | |
| public IEnumerator AcceptList { get; } | |
| public IEnumerator ConnectList { get; } | |
| public void AddPermission(NetworkAccess access, TransportType transport, String hostName, Int32 portNumber); | |
| public virtual IPermission Copy(); | |
| public virtual void FromXml(SecurityElement securityElement); | |
| public virtual IPermission Intersect(IPermission target); | |
| public virtual Boolean IsSubsetOf(IPermission target); | |
| public virtual Boolean IsUnrestricted(); | |
| public virtual SecurityElement ToXml(); | |
| public virtual IPermission Union(IPermission target); |
| public sealed class SocketPermissionAttribute | |
| : CodeAccessSecurityAttribute, _Attribute | |
| public String Access { get; set; } | |
| public String Host { get; set; } | |
| public String Port { get; set; } | |
| public String Transport { get; set; } | |
| public virtual IPermission CreatePermission(); |
| public abstract class TransportContext | |
| public abstract virtual ChannelBinding GetChannelBinding(ChannelBindingKind kind); |
| public sealed enum TransportType | |
| : IComparable, IFormattable, IConvertible | |
| { Udp, Connectionless, Tcp, ConnectionOriented, All } |
| public class UploadDataCompletedEventArgs | |
| : AsyncCompletedEventArgs | |
| public Byte Result { get; } |
| public sealed class UploadDataCompletedEventHandler | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(Object sender, UploadDataCompletedEventArgs e, AsyncCallback callback, Object object); | |
| public virtual void EndInvoke(IAsyncResult result); | |
| public virtual void Invoke(Object sender, UploadDataCompletedEventArgs e); |
| public class UploadFileCompletedEventArgs | |
| : AsyncCompletedEventArgs | |
| public Byte Result { get; } |
| public sealed class UploadFileCompletedEventHandler | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(Object sender, UploadFileCompletedEventArgs e, AsyncCallback callback, Object object); | |
| public virtual void EndInvoke(IAsyncResult result); | |
| public virtual void Invoke(Object sender, UploadFileCompletedEventArgs e); |
| public class UploadProgressChangedEventArgs | public class UploadProgressChangedEventArgs |
| : ProgressChangedEventArgs | : ProgressChangedEventArgs |
| public Int64 BytesReceived { get; } | public Int64 BytesReceived { get; } |
| public Int64 BytesSent { get; } | public Int64 BytesSent { get; } |
| public Int64 TotalBytesToReceive { get; } | public Int64 TotalBytesToReceive { get; } |
| public Int64 TotalBytesToSend { get; } | public Int64 TotalBytesToSend { get; } |
| public sealed class UploadProgressChangedEventHandler | public sealed class UploadProgressChangedEventHandler |
| : MulticastDelegate, ICloneable | : MulticastDelegate, ICloneable, ISerializable |
| public virtual IAsyncResult BeginInvoke(Object sender, UploadProgressChangedEventArgs e, AsyncCallback callback, Object object); | public virtual IAsyncResult BeginInvoke(Object sender, UploadProgressChangedEventArgs e, AsyncCallback callback, Object object); |
| public virtual void EndInvoke(IAsyncResult result); | public virtual void EndInvoke(IAsyncResult result); |
| public virtual void Invoke(Object sender, UploadProgressChangedEventArgs e); | public virtual void Invoke(Object sender, UploadProgressChangedEventArgs e); |
| public class UploadStringCompletedEventArgs | public class UploadStringCompletedEventArgs |
| : AsyncCompletedEventArgs | : AsyncCompletedEventArgs |
| public String Result { get; } | public String Result { get; } |
| public sealed class UploadStringCompletedEventHandler | public sealed class UploadStringCompletedEventHandler |
| : MulticastDelegate, ICloneable | : MulticastDelegate, ICloneable, ISerializable |
| public virtual IAsyncResult BeginInvoke(Object sender, UploadStringCompletedEventArgs e, AsyncCallback callback, Object object); | public virtual IAsyncResult BeginInvoke(Object sender, UploadStringCompletedEventArgs e, AsyncCallback callback, Object object); |
| public virtual void EndInvoke(IAsyncResult result); | public virtual void EndInvoke(IAsyncResult result); |
| public virtual void Invoke(Object sender, UploadStringCompletedEventArgs e); | public virtual void Invoke(Object sender, UploadStringCompletedEventArgs e); |
| public class UploadValuesCompletedEventArgs | |
| : AsyncCompletedEventArgs | |
| public Byte Result { get; } |
| public sealed class UploadValuesCompletedEventHandler | |
| : MulticastDelegate, ICloneable, ISerializable | |
| public virtual IAsyncResult BeginInvoke(Object sender, UploadValuesCompletedEventArgs e, AsyncCallback callback, Object object); | |
| public virtual void EndInvoke(IAsyncResult result); | |
| public virtual void Invoke(Object sender, UploadValuesCompletedEventArgs e); |
| public class WebClient | public class WebClient |
| : Component, IComponent, IDisposable | |
| public Boolean AllowReadStreamBuffering { get; set; } | |
| public Boolean AllowWriteStreamBuffering { get; set; } | |
| public String BaseAddress { get; set; } | public String BaseAddress { get; set; } |
| public RequestCachePolicy CachePolicy { get; set; } | |
| public ICredentials Credentials { get; set; } | public ICredentials Credentials { get; set; } |
| public Encoding Encoding { get; set; } | public Encoding Encoding { get; set; } |
| public WebHeaderCollection Headers { get; set; } | public WebHeaderCollection Headers { get; set; } |
| public Boolean IsBusy { get; } | public Boolean IsBusy { get; } |
| public IWebProxy Proxy { get; set; } | |
| public NameValueCollection QueryString { get; set; } | |
| public WebHeaderCollection ResponseHeaders { get; } | public WebHeaderCollection ResponseHeaders { get; } |
| public Boolean UseDefaultCredentials { get; set; } | public Boolean UseDefaultCredentials { get; set; } |
| public event DownloadDataCompletedEventHandler DownloadDataCompleted; | |
| public event AsyncCompletedEventHandler DownloadFileCompleted; | |
| public event DownloadProgressChangedEventHandler DownloadProgressChanged; | public event DownloadProgressChangedEventHandler DownloadProgressChanged; |
| public event DownloadStringCompletedEventHandler DownloadStringCompleted; | public event DownloadStringCompletedEventHandler DownloadStringCompleted; |
| public event OpenReadCompletedEventHandler OpenReadCompleted; | public event OpenReadCompletedEventHandler OpenReadCompleted; |
| public event OpenWriteCompletedEventHandler OpenWriteCompleted; | public event OpenWriteCompletedEventHandler OpenWriteCompleted; |
| public event UploadDataCompletedEventHandler UploadDataCompleted; | |
| public event UploadFileCompletedEventHandler UploadFileCompleted; | |
| public event UploadProgressChangedEventHandler UploadProgressChanged; | public event UploadProgressChangedEventHandler UploadProgressChanged; |
| public event UploadStringCompletedEventHandler UploadStringCompleted; | public event UploadStringCompletedEventHandler UploadStringCompleted; |
| public event WriteStreamClosedEventHandler WriteStreamClosed; | |
| public event UploadValuesCompletedEventHandler UploadValuesCompleted; | |
| public void CancelAsync(); | public void CancelAsync(); |
| public Byte DownloadData(String address); | |
| public Byte DownloadData(Uri address); | |
| public void DownloadDataAsync(Uri address); | |
| public void DownloadDataAsync(Uri address, Object userToken); | |
| public Task`1<Byte> DownloadDataTaskAsync(String address); | |
| public Task`1<Byte> DownloadDataTaskAsync(Uri address); | |
| public void DownloadFile(String address, String fileName); | |
| public void DownloadFile(Uri address, String fileName); | |
| public void DownloadFileAsync(Uri address, String fileName); | |
| public void DownloadFileAsync(Uri address, String fileName, Object userToken); | |
| public Task DownloadFileTaskAsync(String address, String fileName); | |
| public Task DownloadFileTaskAsync(Uri address, String fileName); | |
| public String DownloadString(String address); | |
| public String DownloadString(Uri address); | |
| public void DownloadStringAsync(Uri address); | public void DownloadStringAsync(Uri address); |
| public void DownloadStringAsync(Uri address, Object userToken); | public void DownloadStringAsync(Uri address, Object userToken); |
| public Task`1<String> DownloadStringTaskAsync(String address); | |
| public Task`1<String> DownloadStringTaskAsync(Uri address); | |
| protected virtual WebRequest GetWebRequest(Uri address); | |
| protected virtual WebResponse GetWebResponse(WebRequest request); | |
| protected virtual WebResponse GetWebResponse(WebRequest request, IAsyncResult result); | |
| protected virtual void OnDownloadDataCompleted(DownloadDataCompletedEventArgs e); | |
| protected virtual void OnDownloadFileCompleted(AsyncCompletedEventArgs e); | |
| protected virtual void OnDownloadProgressChanged(DownloadProgressChangedEventArgs e); | |
| protected virtual void OnDownloadStringCompleted(DownloadStringCompletedEventArgs e); | |
| protected virtual void OnOpenReadCompleted(OpenReadCompletedEventArgs e); | |
| protected virtual void OnOpenWriteCompleted(OpenWriteCompletedEventArgs e); | |
| protected virtual void OnUploadDataCompleted(UploadDataCompletedEventArgs e); | |
| protected virtual void OnUploadFileCompleted(UploadFileCompletedEventArgs e); | |
| protected virtual void OnUploadProgressChanged(UploadProgressChangedEventArgs e); | |
| protected virtual void OnUploadStringCompleted(UploadStringCompletedEventArgs e); | |
| protected virtual void OnUploadValuesCompleted(UploadValuesCompletedEventArgs e); | |
| public Stream OpenRead(String address); | |
| public Stream OpenRead(Uri address); | |
| public void OpenReadAsync(Uri address); | public void OpenReadAsync(Uri address); |
| public void OpenReadAsync(Uri address, Object userToken); | public void OpenReadAsync(Uri address, Object userToken); |
| public Task`1<Stream> OpenReadTaskAsync(String address); | |
| public Task`1<Stream> OpenReadTaskAsync(Uri address); | |
| public Stream OpenWrite(String address); | |
| public Stream OpenWrite(Uri address); | |
| public Stream OpenWrite(String address, String method); | |
| public Stream OpenWrite(Uri address, String method); | |
| public void OpenWriteAsync(Uri address); | public void OpenWriteAsync(Uri address); |
| public void OpenWriteAsync(Uri address, String method); | public void OpenWriteAsync(Uri address, String method); |
| public void OpenWriteAsync(Uri address, String method, Object userToken); | public void OpenWriteAsync(Uri address, String method, Object userToken); |
| public Task`1<Stream> OpenWriteTaskAsync(String address); | |
| public Task`1<Stream> OpenWriteTaskAsync(Uri address); | |
| public Task`1<Stream> OpenWriteTaskAsync(String address, String method); | |
| public Task`1<Stream> OpenWriteTaskAsync(Uri address, String method); | |
| public Byte UploadData(String address, Byte[] data); | |
| public Byte UploadData(Uri address, Byte[] data); | |
| public Byte UploadData(String address, String method, Byte[] data); | |
| public Byte UploadData(Uri address, String method, Byte[] data); | |
| public void UploadDataAsync(Uri address, Byte data); | |
| public void UploadDataAsync(Uri address, String method, Byte data); | |
| public void UploadDataAsync(Uri address, String method, Byte data, Object userToken); | |
| public Task`1<Byte> UploadDataTaskAsync(String address, Byte[] data); | |
| public Task`1<Byte> UploadDataTaskAsync(Uri address, Byte[] data); | |
| public Task`1<Byte> UploadDataTaskAsync(String address, String method, Byte[] data); | |
| public Task`1<Byte> UploadDataTaskAsync(Uri address, String method, Byte[] data); | |
| public Byte UploadFile(String address, String fileName); | |
| public Byte UploadFile(Uri address, String fileName); | |
| public Byte UploadFile(String address, String method, String fileName); | |
| public Byte UploadFile(Uri address, String method, String fileName); | |
| public void UploadFileAsync(Uri address, String fileName); | |
| public void UploadFileAsync(Uri address, String method, String fileName); | |
| public void UploadFileAsync(Uri address, String method, String fileName, Object userToken); | |
| public Task`1<Byte> UploadFileTaskAsync(String address, String fileName); | |
| public Task`1<Byte> UploadFileTaskAsync(Uri address, String fileName); | |
| public Task`1<Byte> UploadFileTaskAsync(String address, String method, String fileName); | |
| public Task`1<Byte> UploadFileTaskAsync(Uri address, String method, String fileName); | |
| public String UploadString(String address, String data); | |
| public String UploadString(Uri address, String data); | |
| public String UploadString(String address, String method, String data); | |
| public String UploadString(Uri address, String method, String data); | |
| public void UploadStringAsync(Uri address, String data); | public void UploadStringAsync(Uri address, String data); |
| public void UploadStringAsync(Uri address, String method, String data); | public void UploadStringAsync(Uri address, String method, String data); |
| public void UploadStringAsync(Uri address, String method, String data, Object userToken); | public void UploadStringAsync(Uri address, String method, String data, Object userToken); |
| public Task`1<String> UploadStringTaskAsync(String address, String data); | |
| public Task`1<String> UploadStringTaskAsync(Uri address, String data); | |
| public Task`1<String> UploadStringTaskAsync(String address, String method, String data); | |
| public Task`1<String> UploadStringTaskAsync(Uri address, String method, String data); | |
| public Byte UploadValues(String address, NameValueCollection data); | |
| public Byte UploadValues(Uri address, NameValueCollection data); | |
| public Byte UploadValues(String address, String method, NameValueCollection data); | |
| public Byte UploadValues(Uri address, String method, NameValueCollection data); | |
| public void UploadValuesAsync(Uri address, NameValueCollection data); | |
| public void UploadValuesAsync(Uri address, String method, NameValueCollection data); |
| public class WebException | public class WebException |
| : InvalidOperationException, _Exception | : InvalidOperationException, ISerializable, _Exception |
| public WebResponse Response { get; } | public WebResponse Response { get; } |
| public WebExceptionStatus Status { get; } | public WebExceptionStatus Status { get; } |
| public sealed enum WebExceptionStatus | public sealed enum WebExceptionStatus |
| : IComparable, IFormattable, IConvertible | : IComparable, IFormattable, IConvertible |
| { Success, ConnectFailure, SendFailure, RequestCanceled, Pending, UnknownError, MessageLengthLimitExceeded } | { Success, NameResolutionFailure, ConnectFailure, ReceiveFailure, SendFailure, PipelineFailure, RequestCanceled, ProtocolError, ConnectionClosed, TrustFailure, SecureChannelFailure, ServerProtocolViolation, KeepAliveFailure, Pending, Timeout, ProxyNameResolutionFailure, UnknownError, MessageLengthLimitExceeded, CacheEntryNotFound, RequestProhibitedByCachePolicy, RequestProhibitedByProxy } |
| public sealed class WebHeaderCollection | public class WebHeaderCollection |
| : IEnumerable | : NameValueCollection, ICollection, IEnumerable, ISerializable, IDeserializationCallback |
| public String AllKeys { get; } | public virtual String AllKeys { get; } |
| public Int32 Count { get; } | public virtual Int32 Count { get; } |
| public String Item { get; set; } | public String Item { get; set; } |
| public String Item { get; set; } | public String Item { get; set; } |
| public virtual KeysCollection Keys { get; } | |
| public void Add(HttpRequestHeader header, String value); | |
| public void Add(HttpResponseHeader header, String value); | |
| public virtual void Add(String name, String value); | |
| public void Add(String header); | |
| protected void AddWithoutValidate(String headerName, String headerValue); | |
| public virtual void Clear(); | |
| public virtual String Get(String name); | |
| public virtual String Get(Int32 index); | |
| public virtual IEnumerator GetEnumerator(); | |
| public virtual String GetKey(Int32 index); | |
| public virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public virtual String GetValues(String header); | |
| public virtual String GetValues(Int32 index); | |
| static public Boolean IsRestricted(String headerName); | |
| static public Boolean IsRestricted(String headerName, Boolean response); | |
| public virtual void OnDeserialization(Object sender); | |
| public void Remove(HttpRequestHeader header); | |
| public void Remove(HttpResponseHeader header); | |
| public virtual void Remove(String name); | |
| public void Set(HttpResponseHeader header, String value); | |
| public virtual void Set(String name, String value); | |
| public void Set(HttpRequestHeader header, String value); | |
| public Byte ToByteArray(); |
| public sealed class WebPermission | |
| : CodeAccessPermission, IPermission, ISecurityEncodable, IStackWalk, IUnrestrictedPermission | |
| public IEnumerator AcceptList { get; } | |
| public IEnumerator ConnectList { get; } | |
| public void AddPermission(NetworkAccess access, String uriString); | |
| public void AddPermission(NetworkAccess access, Regex uriRegex); | |
| public virtual IPermission Copy(); | |
| public virtual void FromXml(SecurityElement securityElement); | |
| public virtual IPermission Intersect(IPermission target); | |
| public virtual Boolean IsSubsetOf(IPermission target); | |
| public virtual Boolean IsUnrestricted(); | |
| public virtual SecurityElement ToXml(); | |
| public virtual IPermission Union(IPermission target); |
| public sealed class WebPermissionAttribute | |
| : CodeAccessSecurityAttribute, _Attribute | |
| public String Accept { get; set; } | |
| public String AcceptPattern { get; set; } | |
| public String Connect { get; set; } | |
| public String ConnectPattern { get; set; } | |
| public virtual IPermission CreatePermission(); |
| public class WebProxy | |
| : IAutoWebProxy, IWebProxy, ISerializable | |
| public Uri Address { get; set; } | |
| public ArrayList BypassArrayList { get; } | |
| public String BypassList { get; set; } | |
| public Boolean BypassProxyOnLocal { get; set; } | |
| public virtual ICredentials Credentials { get; set; } | |
| public Boolean UseDefaultCredentials { get; set; } | |
| static public WebProxy GetDefaultProxy(); | |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public virtual Uri GetProxy(Uri destination); | |
| public virtual Boolean IsBypassed(Uri host); |
| public abstract class WebRequest | public abstract class WebRequest |
| : MarshalByRefObject, ISerializable | |
| public AuthenticationLevel AuthenticationLevel { get; set; } | |
| public virtual RequestCachePolicy CachePolicy { get; set; } | |
| public virtual String ConnectionGroupName { get; set; } | |
| public virtual Int64 ContentLength { get; set; } | public virtual Int64 ContentLength { get; set; } |
| public abstract virtual String ContentType { get; set; } | public virtual String ContentType { get; set; } |
| public virtual IWebRequestCreate CreatorInstance { get; } | |
| public virtual ICredentials Credentials { get; set; } | public virtual ICredentials Credentials { get; set; } |
| static public RequestCachePolicy DefaultCachePolicy { get; set; } | |
| static public IWebProxy DefaultWebProxy { get; set; } | |
| public abstract virtual WebHeaderCollection Headers { get; set; } | public virtual WebHeaderCollection Headers { get; set; } |
| public TokenImpersonationLevel ImpersonationLevel { get; set; } | |
| public abstract virtual String Method { get; set; } | public virtual String Method { get; set; } |
| public virtual Boolean PreAuthenticate { get; set; } | |
| public virtual IWebProxy Proxy { get; set; } | |
| public abstract virtual Uri RequestUri { get; } | public virtual Uri RequestUri { get; } |
| public virtual Int32 Timeout { get; set; } | |
| public virtual Boolean UseDefaultCredentials { get; set; } | public virtual Boolean UseDefaultCredentials { get; set; } |
| public abstract virtual void Abort(); | public virtual void Abort(); |
| public abstract virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state); | public virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state); |
| public abstract virtual IAsyncResult BeginGetResponse(AsyncCallback callback, Object state); | public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, Object state); |
| static public WebRequest Create(String requestUriString); | |
| static public WebRequest Create(Uri requestUri); | static public WebRequest Create(Uri requestUri); |
| static public WebRequest Create(String requestUriString); | |
| static public WebRequest CreateDefault(Uri requestUri); | |
| static public HttpWebRequest CreateHttp(String requestUriString); | |
| static public HttpWebRequest CreateHttp(Uri requestUri); | static public HttpWebRequest CreateHttp(Uri requestUri); |
| static public HttpWebRequest CreateHttp(String requestUriString); | |
| public abstract virtual Stream EndGetRequestStream(IAsyncResult asyncResult); | public virtual Stream EndGetRequestStream(IAsyncResult asyncResult); |
| public abstract virtual WebResponse EndGetResponse(IAsyncResult asyncResult); | public virtual WebResponse EndGetResponse(IAsyncResult asyncResult); |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public virtual Stream GetRequestStream(); | |
| public virtual Task`1<Stream> GetRequestStreamAsync(); | |
| public virtual WebResponse GetResponse(); | |
| public virtual Task`1<WebResponse> GetResponseAsync(); | |
| static public IWebProxy GetSystemWebProxy(); | |
| static public Boolean RegisterPrefix(String prefix, IWebRequestCreate creator); | static public Boolean RegisterPrefix(String prefix, IWebRequestCreate creator); |
| public abstract sealed class WebRequestMethods | |
| public abstract class WebResponse | public abstract class WebResponse |
| : IDisposable | : MarshalByRefObject, ISerializable, IDisposable |
| public abstract virtual Int64 ContentLength { get; } | public virtual Int64 ContentLength { get; set; } |
| public abstract virtual String ContentType { get; } | public virtual String ContentType { get; set; } |
| public virtual WebHeaderCollection Headers { get; } | public virtual WebHeaderCollection Headers { get; } |
| public virtual Boolean IsFromCache { get; } | |
| public virtual Boolean IsMutuallyAuthenticated { get; } | |
| public abstract virtual Uri ResponseUri { get; } | public virtual Uri ResponseUri { get; } |
| public virtual Boolean SupportsHeaders { get; } | public virtual Boolean SupportsHeaders { get; } |
| public virtual void Close(); | public virtual void Close(); |
| public virtual void Dispose(); | public virtual void Dispose(); |
| protected virtual void Dispose(Boolean disposing); | |
| protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext); | |
| public abstract virtual Stream GetResponseStream(); | public virtual Stream GetResponseStream(); |
| public abstract sealed class WebUtility | |
| static public String HtmlDecode(String value); | |
| static public void HtmlDecode(String value, TextWriter output); | |
| static public String HtmlEncode(String value); | |
| static public void HtmlEncode(String value, TextWriter output); |
| public class WriteStreamClosedEventArgs | |
| : EventArgs | |
| public Exception Error { get; } |
| public sealed class WriteStreamClosedEventHandler | |
| : MulticastDelegate, ICloneable | |
| public virtual IAsyncResult BeginInvoke(Object sender, WriteStreamClosedEventArgs e, AsyncCallback callback, Object object); | |
| public virtual void EndInvoke(IAsyncResult result); | |
| public virtual void Invoke(Object sender, WriteStreamClosedEventArgs e); |