System.Net.Http Provides HTTP content based on a byte array. Initializes a new instance of the class. The content used to initialize the . The parameter is null. Initializes a new instance of the class. The content used to initialize the . The offset, in bytes, in the parameter used to initialize the . The number of bytes in the starting from the parameter used to initialize the . The parameter is null. The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter.-or-The parameter is less than zero.-or-The parameter is greater than the length of content specified by the parameter - minus the parameter. Creates an HTTP content stream as an asynchronous operation for reading whose backing store is memory from the . Returns .The task object representing the asynchronous operation. Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation. Returns . The task object representing the asynchronous operation. The target stream. Information about the transport, like channel binding token. This parameter may be null. Determines whether a byte array has a valid length in bytes. Returns .true if is a valid length; otherwise, false. The length in bytes of the byte array. Specifies how client certificates are provided. The application manually provides the client certificates to the . This value is the default. The will attempt to provide all available client certificates automatically. A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler. Creates a new instance of the class. Creates a new instance of the class with a specific inner handler. The inner handler which is responsible for processing the HTTP response messages. Releases the unmanaged resources used by the , and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Gets or sets the inner handler which processes the HTTP response messages. Returns .The inner handler for HTTP response messages. Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. Returns . The task object representing the asynchronous operation. The HTTP request message to send to the server. A cancellation token to cancel operation. The was null. A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type. Initializes a new instance of the class with a specific collection of name/value pairs. A collection of name/value pairs. Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. Initializes a new instance of the class. Initializes a new instance of the class with a specific handler. The HTTP handler stack to use for sending requests. Initializes a new instance of the class with a specific handler. The responsible for processing the HTTP response messages. true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler. Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. Returns .The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. Cancel all pending requests on this instance. Gets the headers which should be sent with each request. Returns .The headers which should be sent with each request. Send a DELETE request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a DELETE request to the specified Uri with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a DELETE request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a DELETE request to the specified Uri with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Send a GET request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri with an HTTP completion option as an asynchronous operation. Returns . The Uri the request is sent to. An HTTP completion option value that indicates when the operation should be considered completed. The was null. Send a GET request to the specified Uri with an HTTP completion option and a cancellation token as an asynchronous operation. Returns . The Uri the request is sent to. An HTTP completion option value that indicates when the operation should be considered completed. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a GET request to the specified Uri with a cancellation token as an asynchronous operation. Returns . The Uri the request is sent to. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a GET request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri with an HTTP completion option as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. An HTTP completion option value that indicates when the operation should be considered completed. The was null. Send a GET request to the specified Uri with an HTTP completion option and a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. An HTTP completion option value that indicates when the operation should be considered completed. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a GET request to the specified Uri with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a GET request to the specified Uri and return the response body as a byte array in an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri and return the response body as a byte array in an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri and return the response body as a stream in an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri and return the response body as a stream in an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The was null. Gets or sets the maximum number of bytes to buffer when reading the response content. Returns .The maximum number of bytes to buffer when reading the response content. The default value for this property is 64K. The size specified is less than or equal to zero. An operation has already been started on the current instance. The current instance has been disposed. Send a POST request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. The was null. Send a POST request with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a POST request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. The was null. Send a POST request with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a PUT request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. The was null. Send a PUT request with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send a PUT request to the specified Uri as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. The was null. Send a PUT request with a cancellation token as an asynchronous operation. Returns .The task object representing the asynchronous operation. The Uri the request is sent to. The HTTP request content sent to the server. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Send an HTTP request as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send. The was null. The request message was already sent by the instance. Send an HTTP request as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send. When the operation should complete (as soon as a response is available or after reading the whole response content). The was null. The request message was already sent by the instance. Send an HTTP request as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send. When the operation should complete (as soon as a response is available or after reading the whole response content). The cancellation token to cancel operation. The was null. The request message was already sent by the instance. Send an HTTP request as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send. The cancellation token to cancel operation. The was null. The request message was already sent by the instance. Gets or sets the number of milliseconds to wait before the request times out. Returns .The number of milliseconds to wait before the request times out. The timeout specified is less than or equal to zero and is not . An operation has already been started on the current instance. The current instance has been disposed. The default message handler used by . Creates an instance of a class. Gets or sets a value that indicates whether the handler should follow redirection responses. Returns .true if the if the handler should follow redirection responses; otherwise false. The default value is true. Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. Returns .The automatic decompression method used by the handler. The default value is . Gets or sets the collection of security certificates that are associated with this handler. Returns .The collection of security certificates associated with this handler. Gets or sets the cookie container used to store server cookies by the handler. Returns .The cookie container used to store server cookies by the handler. Gets or sets authentication information used by this handler. Returns .The authentication credentials associated with the handler. The default is null. Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Gets or sets the maximum number of redirects that the handler follows. Returns .The maximum number of redirection responses that the handler follows. The default value is 50. Gets or sets the maximum request content buffer size used by the handler. Returns .The maximum request content buffer size in bytes. The default value is 65,536 bytes. Gets or sets a value that indicates whether the handler sends an Authorization header with the request. Returns .true for the handler to send an HTTP Authorization header with requests after authentication has taken place; otherwise, false. The default is false. Gets or sets proxy information used by the handler. Returns .The proxy information used by the handler. The default value is null. Creates an instance of based on the information provided in the as an operation that will not block. Returns .The task object representing the asynchronous operation. The HTTP request message. A cancellation token to cancel the operation. The was null. Gets a value that indicates whether the handler supports automatic response content decompression. Returns .true if the if the handler supports automatic response content decompression; otherwise false. The default value is true. Gets a value that indicates whether the handler supports proxy settings. Returns .true if the if the handler supports proxy settings; otherwise false. The default value is true. Gets a value that indicates whether the handler supports configuration settings for the and properties. Returns .true if the if the handler supports configuration settings for the and properties; otherwise false. The default value is true. Gets or sets a value that indicates whether the handler uses the property to store server cookies and uses these cookies when sending requests. Returns .true if the if the handler supports uses the property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true. Gets or sets a value that controls whether default credentials are sent with requests by the handler. Returns .true if the default credentials are used; otherwise false. The default value is false. Gets or sets a value that indicates whether the handler uses a proxy for requests. Returns .true if the handler should use a proxy for requests; otherwise false. The default value is true. Indicates if operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. The operation should complete after reading the entire response including the content. The operation should complete as soon as a response is available and headers are read. The content is not read yet. A base class representing an HTTP entity body and content headers. Initializes a new instance of the class. Write the HTTP content to a stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. The target stream. Write the HTTP content to a stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. The target stream. Information about the transport (channel binding token, for example). This parameter may be null. Write the HTTP content to a memory stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. Releases the unmanaged resources and disposes of the managed resources used by the . Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Gets the HTTP content headers as defined in RFC 2616. Returns .The content headers as defined in RFC 2616. Serialize the HTTP content to a memory buffer as an asynchronous operation. Returns .The task object representing the asynchronous operation. Serialize the HTTP content to a memory buffer as an asynchronous operation. Returns .The task object representing the asynchronous operation. The maximum size, in bytes, of the buffer to use. Write the HTTP content to a byte array as an asynchronous operation. Returns .The task object representing the asynchronous operation. Write the HTTP content to a stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. Write the HTTP content to a string as an asynchronous operation. Returns .The task object representing the asynchronous operation. Serialize the HTTP content to a stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. The target stream. Information about the transport (channel binding token, for example). This parameter may be null. Determines whether the HTTP content has a valid length in bytes. Returns .true if is a valid length; otherwise, false. The length in bytes of the HHTP content. A base type for HTTP message handlers. Initializes a new instance of the class. Releases the unmanaged resources and disposes of the managed resources used by the . Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Send an HTTP request as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send. The cancellation token to cancel operation. The was null. The base type for and other message originators. Initializes an instance of a class with a specific . The responsible for processing the HTTP response messages. Initializes an instance of a class with a specific . The responsible for processing the HTTP response messages. true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler. Releases the unmanaged resources and disposes of the managed resources used by the . Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Send an HTTP request as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send. The cancellation token to cancel operation. The was null. A helper class for retrieving and comparing standard HTTP methods. Initializes a new instance of the class with a specific HTTP method. The HTTP method. Represents an HTTP DELETE protocol method. Returns . Determines whether the specified is equal to the current . Returns .true if the specified object is equal to the current object; otherwise, false. The HTTP method to compare with the current object. Determines whether the specified is equal to the current . Returns .true if the specified object is equal to the current object; otherwise, false. The object to compare with the current object. Represents an HTTP GET protocol method. Returns . Serves as a hash function for this type. Returns .A hash code for the current . Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. Returns . An HTTP method. Returns .An HTTP method represented as a . The equality operator for comparing two objects. Returns .true if the specified and parameters are equal; otherwise, false. The left to an equality operator. The right to an equality operator. The inequality operator for comparing two objects. Returns .true if the specified and parameters are inequal; otherwise, false. The left to an inequality operator. The right to an inequality operator. Represents an HTTP OPTIONS protocol method. Returns . Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. Returns . Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. Returns . Returns a string that represents the current object. Returns .A string representing the current object. Represents an HTTP TRACE protocol method. Returns . A base class for exceptions thrown by the and classes. Initializes a new instance of the class. Initializes a new instance of the class with a specific message that describes the current exception. A message that describes the current exception. Initializes a new instance of the class with a specific message that describes the current exception and an inner exception. A message that describes the current exception. The inner exception. Represents a HTTP request message. Initializes a new instance of the class. Initializes a new instance of the class with an HTTP method and a request . The HTTP method. A string that represents the request . Initializes a new instance of the class with an HTTP method and a request . The HTTP method. The to request. Gets or sets the contents of the HTTP message. Returns .The content of a message Releases the unmanaged resources and disposes of the managed resources used by the . Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Gets the collection of HTTP request headers. Returns .The collection of HTTP request headers. Gets or sets the HTTP method used by the HTTP request message. Returns .The HTTP method used by the request message. The default is the GET method. Gets a set of properties for the HTTP request. Returns . Gets or sets the used for the HTTP request. Returns .The used for the HTTP request. Returns a string that represents the current object. Returns .A string representation of the current object. Gets or sets the HTTP message version. Returns .The HTTP message version. The default is 1.1. Represents a HTTP response message. Initializes a new instance of the class. Initializes a new instance of the class with a specific . The status code of the HTTP response. Gets or sets the content of a HTTP response message. Returns .The content of the HTTP response message. Releases the unmanaged resources and disposes of unmanaged resources used by the . Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Throws an exception if the property for the HTTP response is false. Returns .The HTTP response message if the call is successful. Gets the collection of HTTP response headers. Returns .The collection of HTTP response headers. Gets a value that indicates if the HTTP response was successful. Returns .A value that indicates if the HTTP response was successful. true if was in the range 200-299; otherwise false. Gets or sets the reason phrase which typically is sent by servers together with the status code. Returns .The reason phrase sent by the server. Gets or sets the request message which led to this response message. Returns .The request message which led to this response message. Gets or sets the status code of the HTTP response. Returns .The status code of the HTTP response. Returns a string that represents the current object. Returns .A string representation of the current object. Gets or sets the HTTP message version. Returns .The HTTP message version. The default is 1.1. A base type for handlers which only do some small processing of request and/or response messages. Creates an instance of a class. Creates an instance of a class with a specific inner handler. The inner handler which is responsible for processing the HTTP response messages. Processes an HTTP request message. Returns .The HTTP request message that was processed. The HTTP request message to process. A cancellation token that can be used by other objects or threads to receive notice of cancellation. Processes an HTTP response message. Returns .The HTTP response message that was processed. The HTTP response message to process. A cancellation token that can be used by other objects or threads to receive notice of cancellation. Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. Returns .The task object representing the asynchronous operation. The HTTP request message to send to the server. A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. Provides a collection of objects that get serialized using the multipart/* content type specification. Creates a new instance of the class. Creates a new instance of the class. The subtype of the multipart content. The was null or contains only white space characters. Creates a new instance of the class. The subtype of the multipart content. The boundary string for the multipart content. The was null or an empty string.The was null or contains only white space characters.-or-The ends with a space character. The length of the was greater than 70. Add multipart HTTP content to a collection of objects that get serialized using the multipart/* content type specification. The HTTP content to add to the collection. The was null. Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Returns an enumerator that iterates through the collection of objects that get serialized using the multipart/* content type specification.. Returns .An object that can be used to iterate through the collection. Serialize the multipart HTTP content to a stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. The target stream. Information about the transport (channel binding token, for example). This parameter may be null. The explicit implementation of the method. Returns .An object that can be used to iterate through the collection. Determines whether the HTTP multipart content has a valid length in bytes. Returns .true if is a valid length; otherwise, false. The length in bytes of the HHTP content. Provides a container for content encoded using multipart/form-data MIME type. Creates a new instance of the class. Creates a new instance of the class. The boundary string for the multipart form data content. The was null or contains only white space characters.-or-The ends with a space character. The length of the was greater than 70. Add HTTP content to a collection of objects that get serialized to multipart/form-data MIME type. The HTTP content to add to the collection. The was null. Add HTTP content to a collection of objects that get serialized to multipart/form-data MIME type. The HTTP content to add to the collection. The name for the HTTP content to add. The was null or contains only white space characters. The was null. Add HTTP content to a collection of objects that get serialized to multipart/form-data MIME type. The HTTP content to add to the collection. The name for the HTTP content to add. The file name for the HTTP content to add to the collection. The was null or contains only white space characters.-or-The was null or contains only white space characters. The was null. Provides HTTP content based on a stream. Creates a new instance of the class. The content used to initialize the . Creates a new instance of the class. The content used to initialize the . The size, in bytes, of the buffer for the . The was null. The was less than or equal to zero. Write the HTTP stream content to a memory stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. Serialize the HTTP content to a stream as an asynchronous operation. Returns .The task object representing the asynchronous operation. The target stream. Information about the transport (channel binding token, for example). This parameter may be null. Determines whether the stream content has a valid length in bytes. Returns .true if is a valid length; otherwise, false. The length in bytes of the stream content. Provides HTTP content based on a string. Creates a new instance of the class. The content used to initialize the . Creates a new instance of the class. The content used to initialize the . The encoding to use for the content. Creates a new instance of the class. The content used to initialize the . The encoding to use for the content. The media type to use for the content. Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values. Initializes a new instance of the class. The scheme to use for authorization. Initializes a new instance of the class. The scheme to use for authorization. The credentials containing the authentication information of the user agent for the resource being requested. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Gets the credentials containing the authentication information of the user agent for the resource being requested. Returns .The credentials containing the authentication information. Converts a string to an instance. Returns .An instance. A string that represents authentication header value information. is a null reference. is not valid authentication header value information. Gets the scheme to use for authorization. Returns .The scheme to use for authorization. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents the value of the Cache-Control header. Initializes a new instance of the class. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Cache-extension tokens, each with an optional assigned value. Returns .A collection of cache-extension tokens each with an optional assigned value. Serves as a hash function for a object. Returns .A hash code for the current object. The maximum age, specified in seconds, that the HTTP client is willing to accept a response. Returns .The time in seconds. Whether an HTTP client is willing to accept a response that has exceeded its expiration time. Returns .true if the HTTP client is willing to accept a response that has exceed the expiration time; otherwise, false. The maximum time, in seconds, an HTTP client is willing to accept a response that has exceeded its expiration time. Returns .The time in seconds. The freshness lifetime, in seconds, that an HTTP client is willing to accept a response. Returns .The time in seconds. Whether the origin server require revalidation of a cache entry on any subsequent use when the cache entry becomes stale. Returns .true if the origin server requires revalidation of a cache entry on any subsequent use when the entry becomes stale; otherwise, false. Whether an HTTP client is willing to accept a cached response. Returns .true if the HTTP client is willing to accept a cached response; otherwise, false. A collection of fieldnames in the "no-cache" directive in a cache-control header field on an HTTP response. Returns .A collection of fieldnames. Whether a cache must not store any part of either the HTTP request mressage or any response. Returns .true if a cache must not store any part of either the HTTP request mressage or any response; otherwise, false. Whether a cache or proxy must not change any aspect of the entity-body. Returns .true if a cache or proxy must not change any aspect of the entity-body; otherwise, false. Whether a cache should either respond using a cached entry that is consistent with the other constraints of the HTTP request, or respond with a 504 (Gateway Timeout) status. Returns .true if a cache should either respond using a cached entry that is consistent with the other constraints of the HTTP request, or respond with a 504 (Gateway Timeout) status; otherwise, false. Converts a string to an instance. Returns .A instance. A string that represents cache-control header value information. is a null reference. is not valid cache-control header value information. Whether all or part of the HTTP response message is intended for a single user and must not be cached by a shared cache. Returns .true if the HTTP response message is intended for a single user and must not be cached by a shared cache; otherwise, false. A collection fieldnames in the "private" directive in a cache-control header field on an HTTP response. Returns .A collection of fieldnames. Whether the origin server require revalidation of a cache entry on any subsequent use when the cache entry becomes stale for shared user agent caches. Returns .true if the origin server requires revalidation of a cache entry on any subsequent use when the entry becomes stale for shared user agent caches; otherwise, false. Whether an HTTP response may be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache. Returns .true if the HTTP response may be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache; otherwise, false. The shared maximum age, specified in seconds, in an HTTP response that overrides the "max-age" directive in a cache-control header or an Expires header for a shared cache. Returns .The time in seconds. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents the value of the Content-Disposition header. Initializes a new instance of the class. A . Initializes a new instance of the class. A string that contains a . The date at which the file was created. Returns .The file creation date. The disposition type for a content body part. Returns .The disposition type. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. A suggestion for how to construct a filename for storing the message payload to be used if the entity is detached and stored in a separate file. Returns .A suggested filename. A suggestion for how to construct filenames for storing message payloads to be used if the entities are detached and stored in a separate files. Returns .A suggested filename of the form filename*. Serves as a hash function for an object. Returns .A hash code for the current object. The date at which the file was last modified. Returns .The file modification date. The name for a content body part. Returns .The name for the content body part. A set of parameters included the Content-Disposition header. Returns .A collection of parameters. Converts a string to an instance. Returns .An instance. A string that represents content disposition header value information. is a null reference. is not valid content disposition header value information. The date the file was last read. Returns .The last read date. The approximate size, in bytes, of the file. Returns .The approximate size, in bytes. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents the value of the Content-Range header. Initializes a new instance of the class. The starting or ending point of the range, in bytes. Initializes a new instance of the class. The position, in bytes, at which to start sending data. The position, in bytes, at which to stop sending data. Initializes a new instance of the class. The position, in bytes, at which to start sending data. The position, in bytes, at which to stop sending data. The starting or ending point of the range, in bytes. Determines whether the specified Object is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Gets the position at which to start sending data. Returns .The position, in bytes, at which to start sending data. Serves as a hash function for an object. Returns .A hash code for the current object. Gets whether the Content-Range header has a length specified. Returns .true if the Content-Range has a length specified; otherwise, false. Gets whether the Content-Range has a range specified. Returns .true if the Content-Range has a range specified; otherwise, false. Gets the length of the full entity-body. Returns .The length of the full entity-body. Converts a string to an instance. Returns .An instance. A string that represents content range header value information. is a null reference. is not valid content range header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Gets the position at which to stop sending data. Returns .The position at which to stop sending data. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. The range units used. Returns .A that contains range units. Represents an entity-tag header value. Initializes a new instance of the class. A string that contains an . Initializes a new instance of the class. A string that contains an . A value that indicates if this entity-tag header is a weak validator. If the entity-tag header is weak validator, then should be set to true. If the entity-tag header is a strong validator, then should be set to false. Gets the entity-tag header value. Returns . Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Gets whether the entity-tag is prefaced by a weakness indicator. Returns .true if the entity-tag is prefaced by a weakness indicator; otherwise, false. Converts a string to an instance. Returns .An instance. A string that represents entity tag header value information. is a null reference. is not valid entity tag header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Gets the opaque quoted string. Returns .An opaque quoted string. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents the collection of Content Headers as defined in RFC 2616. Gets the value of the Allow content header on an HTTP response. Returns .The value of the Allow header on an HTTP response. Gets the value of the Content-Disposition content header on an HTTP response. Returns .The value of the Content-Disposition content header on an HTTP response. Gets the value of the Content-Encoding content header on an HTTP response. Returns .The value of the Content-Encoding content header on an HTTP response. Gets the value of the Content-Language content header on an HTTP response. Returns .The value of the Content-Language content header on an HTTP response. Gets or sets the value of the Content-Length content header on an HTTP response. Returns .The value of the Content-Length content header on an HTTP response. Gets or sets the value of the Content-Location content header on an HTTP response. Returns .The value of the Content-Location content header on an HTTP response. Gets or sets the value of the Content-MD5 content header on an HTTP response. Returns .The value of the Content-MD5 content header on an HTTP response. Gets or sets the value of the Content-Range content header on an HTTP response. Returns .The value of the Content-Range content header on an HTTP response. Gets or sets the value of the Content-Type content header on an HTTP response. Returns .The value of the Content-Type content header on an HTTP response. Gets or sets the value of the Expires content header on an HTTP response. Returns .The value of the Expires content header on an HTTP response. Gets or sets the value of the Last-Modified content header on an HTTP response. Returns .The value of the Last-Modified content header on an HTTP response. A collection of headers and their values as defined in RFC 2616. Initializes a new instance of the class. Adds the specified header and its values into the collection. The header to add to the collection. A list of header values to add to the collection. Adds the specified header and its value into the collection. The header to add to the collection. The content of the header. Removes all headers from the collection. Returns if a specific header exists in the collection. Returns .true is the specified header exists in the collection; otherwise false. The specific header. Returns an enumerator that can iterate through the instance. Returns .An enumerator for the . Returns all header values for a specified header stored in the collection. Returns .An array of header strings. The specified header to return values for. Removes the specified header from the collection. Returns . The name of the header to remove from the collection. Gets an enumerator that can iterate through a . Returns .An instance of an implementation of an that can iterate through a . Returns a string that represents the current object. Returns .A string that represents the current object. Returns a value that indicates whether the specified header and its values were added to the collection without validating the provided information. Returns .true if the specified header and could be added to the collection; otherwise false. The header to add to the collection. The values of the header. Returns a value that indicates whether the specified header and its value were added to the collection without validating the provided information. Returns .true if the specified header and could be added to the collection; otherwise false. The header to add to the collection. The content of the header. Return if a specified header and specified values are stored in the collection. Returns .true is the specified header and values are stored in the collection; otherwise false. The specified header. The specified header values. Represents a collection of header values. Returns . Returns . Returns . Returns . Returns . Returns . Returns a string that represents the current XXX object. Returns .A string that represents the current object. Determines whether a string is valid XXX information. Returns . The string to validate. Represents the collection of Request Headers as defined in RFC 2616. Gets the value of the Accept header for an HTTP request. Returns .The value of the Accept header for an HTTP request. Gets the value of the Accept-Charset header for an HTTP request. Returns .The value of the Accept-Charset header for an HTTP request. Gets the value of the Accept-Encoding header for an HTTP request. Returns .The value of the Accept-Encoding header for an HTTP request. Gets the value of the Accept-Language header for an HTTP request. Returns .The value of the Accept-Language header for an HTTP request. Gets or sets the value of the Authorization header for an HTTP request. Returns .The value of the Authorization header for an HTTP request. Gets or sets the value of the Cache-Control header for an HTTP request. Returns .The value of the Cache-Control header for an HTTP request. Gets the value of the Connection header for an HTTP request. Returns .The value of the Connection header for an HTTP request. Gets or sets a value that indicates if the Connection header for an HTTP request contains Close. Returns .true if the Connection header contains Close, otherwise false. Gets or sets the value of the Date header for an HTTP request. Returns .The value of the Date header for an HTTP request. Gets the value of the Expect header for an HTTP request. Returns .The value of the Expect header for an HTTP request. Gets or sets a value that indicates if the Expect header for an HTTP request contains Continue. Returns .true if the Expect header contains Continue, otherwise false. Gets or sets the value of the From header for an HTTP request. Returns .The value of the From header for an HTTP request. Gets or sets the value of the Host header for an HTTP request. Returns .The value of the Host header for an HTTP request. Gets the value of the If-Match header for an HTTP request. Returns .The value of the If-Match header for an HTTP request. Gets or sets the value of the If-Modified-Since header for an HTTP request. Returns .The value of the If-Modified-Since header for an HTTP request. Gets the value of the If-None-Match header for an HTTP request. Returns .Gets the value of the If-None-Match header for an HTTP request. Gets or sets the value of the If-Range header for an HTTP request. Returns .The value of the If-Range header for an HTTP request. Gets or sets the value of the If-Unmodified-Since header for an HTTP request. Returns .The value of the If-Unmodified-Since header for an HTTP request. Gets or sets the value of the Max-Forwards header for an HTTP request. Returns .The value of the Max-Forwards header for an HTTP request. Gets the value of the Pragma header for an HTTP request. Returns .The value of the Pragma header for an HTTP request. Gets or sets the value of the Proxy-Authorization header for an HTTP request. Returns .The value of the Proxy-Authorization header for an HTTP request. Gets or sets the value of the Range header for an HTTP request. Returns .The value of the Range header for an HTTP request. Gets or sets the value of the Referer header for an HTTP request. Returns .The value of the Referer header for an HTTP request. Gets the value of the TE header for an HTTP request. Returns .The value of the TE header for an HTTP request. Gets the value of the Trailer header for an HTTP request. Returns .The value of the Trailer header for an HTTP request. Gets the value of the Transfer-Encoding header for an HTTP request. Returns .The value of the Transfer-Encoding header for an HTTP request. Gets or sets a value that indicates if the Transfer-Encoding header for an HTTP request contains chunked. Returns .true if the Transfer-Encoding header contains chunked, otherwise false. Gets the value of the Upgrade header for an HTTP request. Returns .The value of the Upgrade header for an HTTP request. Gets the value of the User-Agent header for an HTTP request. Returns .The value of the User-Agent header for an HTTP request. Gets the value of the Via header for an HTTP request. Returns .The value of the Via header for an HTTP request. Gets the value of the Warning header for an HTTP request. Returns .The value of the Warning header for an HTTP request. Represents the collection of Response Headers as defined in RFC 2616. Gets the value of the Accept-Ranges header for an HTTP response. Returns .The value of the Accept-Ranges header for an HTTP response. Gets or sets the value of the Age header for an HTTP response. Returns .The value of the Age header for an HTTP response. Gets or sets the value of the Cache-Control header for an HTTP response. Returns .The value of the Cache-Control header for an HTTP response. Gets the value of the Connection header for an HTTP response. Returns .The value of the Connection header for an HTTP response. Gets or sets a value that indicates if the Connection header for an HTTP response contains Close. Returns .true if the Connection header contains Close, otherwise false. Gets or sets the value of the Date header for an HTTP response. Returns .The value of the Date header for an HTTP response. Gets or sets the value of the ETag header for an HTTP response. Returns .The value of the ETag header for an HTTP response. Gets or sets the value of the Location header for an HTTP response. Returns .The value of the Location header for an HTTP response. Gets the value of the Pragma header for an HTTP response. Returns .The value of the Pragma header for an HTTP response. Gets the value of the Proxy-Authenticate header for an HTTP response. Returns .The value of the Proxy-Authenticate header for an HTTP response. Gets or sets the value of the Retry-After header for an HTTP response. Returns .The value of the Retry-After header for an HTTP response. Gets the value of the Server header for an HTTP response. Returns .The value of the Server header for an HTTP response. Gets the value of the Trailer header for an HTTP response. Returns .The value of the Trailer header for an HTTP response. Gets the value of the Transfer-Encoding header for an HTTP response. Returns .The value of the Transfer-Encoding header for an HTTP response. Gets or sets a value that indicates if the Transfer-Encoding header for an HTTP response contains chunked. Returns .true if the Transfer-Encoding header contains chunked, otherwise false. Gets the value of the Upgrade header for an HTTP response. Returns .The value of the Upgrade header for an HTTP response. Gets the value of the Vary header for an HTTP response. Returns .The value of the Vary header for an HTTP response. Gets the value of the Via header for an HTTP response. Returns .The value of the Via header for an HTTP response. Gets the value of the Warning header for an HTTP response. Returns .The value of the Warning header for an HTTP response. Gets the value of the WWW-Authenticate header for an HTTP response. Returns .The value of the WWW-Authenticate header for an HTTP response. Represents a media-type as defined in the RFC 2616. Initializes a new instance of the class. Initializes a new instance of the class. Gets or sets the character set. Returns .The character set. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Gets or sets the media-type header value. Returns .The media-type header value. Gets or sets the media-type header value parameters. Returns .The media-type header value parameters. Converts a string to an instance. Returns .An instance. A string that represents media type header value information. is a null reference. is not valid media type header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents a content-type header value with an additional quality. Initializes a new instance of the class. Initializes a new instance of the class. Converts a string to an instance. Returns .An instance. A string that represents media type with quality header value information. is a null reference. is not valid media type with quality header value information. Returns . Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents a name/value pair. Initializes a new instance of the class. Initializes a new instance of the class. The header name. Initializes a new instance of the class. The header name. The header value. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Gets the header name. Returns .The header name. Converts a string to an instance. Returns .An instance. A string that represents name value header value information. is a null reference. is not valid name value header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Gets the header value. Returns .The header value. Represents a name/value pair with parameters. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Returns . Converts a string to an instance. Returns .An instance. A string that represents name value with parameter header value information. is a null reference. is not valid name value with parameter header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents a product token in header value. Initializes a new instance of the class. Initializes a new instance of the class. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Gets the name of the product token. Returns .The name of the product token. Converts a string to an instance. Returns .An instance. A string that represents product header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Gets the version of the product token. Returns .The version of the product token. Represents a value which can either be a product or a comment. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Returns . Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Converts a string to an instance. Returns .An instance. A string that represents product info header value information. is a null reference. is not valid product info header value information. Returns . Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents a header value which can either be a date/time or an entity-tag value. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class. Returns . Returns . Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. Serves as a hash function for an object. Returns .A hash code for the current object. Converts a string to an instance. Returns .An instance. A string that represents range condition header value information. is a null reference. is not valid range Condition header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents the value of the Range header. Initializes a new instance of the class. Initializes a new instance of the class. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Converts a string to an instance. Returns .An instance. A string that represents range header value information. is a null reference. is not valid range header value information. Returns . Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. he string to validate. The version of the string. Returns . Represents a byte-range header value. Initializes a new instance of the class. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Returns . Serves as a hash function for an object. Returns .A hash code for the current object. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns . Returns a string that represents the current object. Returns .A string that represents the current object. Represents a header value which can either be a date/time or a timespan value. Initializes a new instance of the class. Initializes a new instance of the class. Returns . Returns . Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Converts a string to an instance. Returns .An instance. A string that represents retry condition header value information. is a null reference. is not valid retry condition header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents a string header value with an optional quality. Initializes a new instance of the class. Initializes a new instance of the class. Determines whether the specified Object is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Converts a string to an instance. Returns .An instance. A string that represents quality header value information. is a null reference. is not valid string with quality header value information. Returns . Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Returns . Represents a transfer-coding header value. Initializes a new instance of the class. Initializes a new instance of the class. Determines whether the specified Object is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Gets the transfer-coding parameters. Returns .The transfer-coding parameters. Converts a string to an instance. Returns .An instance. A string that represents transfer-coding header value information. is a null reference. is not valid transfer-coding header value information. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Gets the transfer-coding value. Returns .The transfer-coding value. Represents a transfer-coding header value with optional quality. Initializes a new instance of the class. Initializes a new instance of the class. Converts a string to an instance. Returns .An instance. A string that represents transfer-coding value information. is a null reference. is not valid transfer-coding with quality header value information. Returns . Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents the value of a Via header. Initializes a new instance of the class. The protocol version of the received protocol. The host and port that the request or response was received by. Initializes a new instance of the class. The protocol version of the received protocol. The host and port that the request or response was received by. The protocol name of the received protocol. Initializes a new instance of the class. The protocol version of the received protocol. The host and port that the request or response was received by. The protocol name of the received protocol. The comment field used to identify the software of the recipient proxy or gateway. Gets the comment field used to identify the software of the recipient proxy or gateway. Returns .The comment field used to identify the software of the recipient proxy or gateway. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .Returns a hash code for the current object. Converts a string to an instance. Returns .An instance. A string that represents via header value information. is a null reference. is not valid via header value information. Gets the protocol name of the received protocol. Returns .The protocol name. Gets the protocol version of the received protocol. Returns .The protocol version. Gets the host and port that the request or response was received by. Returns .The host and port that the request or response was received by. Creates a new object that is a copy of the current instance. Returns .A copy of the current instance. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string. Represents a warning value used by the Warning header. Initializes a new instance of the class. The specific warning code. The host that attached the warning. A quoted-string containing the warning text. Initializes a new instance of the class. The specific warning code. The host that attached the warning. A quoted-string containing the warning text. The date/time stamp of the warning. Gets the host that attached the warning. Returns .The host that attached the warning. Gets the specific warning code. Returns .The specific warning code. Gets the date/time stamp of the warning. Returns .The date/time stamp of the warning. Determines whether the specified is equal to the current object. Returns .true if the specified is equal to the current object; otherwise, false. The object to compare with the current object. Serves as a hash function for an object. Returns .A hash code for the current object. Converts a string to an instance. Returns an instance. A string that represents authentication header value information. is a null reference. is not valid authentication header value information. Creates a new object that is a copy of the current instance. Returns .Returns a copy of the current instance. Gets a quoted-string containing the warning text. Returns .A quoted-string containing the warning text. Returns a string that represents the current object. Returns .A string that represents the current object. Determines whether a string is valid information. Returns .true if is valid information; otherwise, false. The string to validate. The version of the string.