<?xml version="1.0" encoding="utf-8"?>
<doc>
  <assembly>
    <name>System.Net.WebHeaderCollection</name>
  </assembly>
  <members>
    <member name="T:System.Net.HttpRequestHeader">
      <summary>The HTTP headers that may be specified in a client request.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Accept">
      <summary>The Accept header, which specifies the MIME types that are acceptable for the response.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.AcceptCharset">
      <summary>The Accept-Charset header, which specifies the character sets that are acceptable for the response.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.AcceptEncoding">
      <summary>The Accept-Encoding header, which specifies the content encodings that are acceptable for the response.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.AcceptLanguage">
      <summary>The Accept-Language header, which specifies that natural languages that are preferred for the response.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Allow">
      <summary>The Allow header, which specifies the set of HTTP methods supported.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Authorization">
      <summary>The Authorization header, which specifies the credentials that the client presents in order to authenticate itself to the server.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.CacheControl">
      <summary>The Cache-Control header, which specifies directives that must be obeyed by all cache control mechanisms along the request/response chain.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Connection">
      <summary>The Connection header, which specifies options that are desired for a particular connection.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentEncoding">
      <summary>The Content-Encoding header, which specifies the encodings that have been applied to the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentLanguage">
      <summary>The Content-Language header, which specifies the natural language(s) of the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentLength">
      <summary>The Content-Length header, which specifies the length, in bytes, of the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentLocation">
      <summary>The Content-Location header, which specifies a URI from which the accompanying body may be obtained.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentMd5">
      <summary>The Content-MD5 header, which specifies the MD5 digest of the accompanying body data, for the purpose of providing an end-to-end message integrity check. Due to collision problems with MD5, Microsoft recommends a security model based on SHA-256 or better.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentRange">
      <summary>The Content-Range header, which specifies where in the full body the accompanying partial body data should be applied.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ContentType">
      <summary>The Content-Type header, which specifies the MIME type of the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Cookie">
      <summary>The Cookie header, which specifies cookie data presented to the server.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Date">
      <summary>The Date header, which specifies the date and time at which the request originated.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Expect">
      <summary>The Expect header, which specifies particular server behaviors that are required by the client.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Expires">
      <summary>The Expires header, which specifies the date and time after which the accompanying body data should be considered stale.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.From">
      <summary>The From header, which specifies an Internet Email address for the human user who controls the requesting user agent.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Host">
      <summary>The Host header, which specifies the host name and port number of the resource being requested.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.IfMatch">
      <summary>The If-Match header, which specifies that the requested operation should be performed only if the client's cached copy of the indicated resource is current.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.IfModifiedSince">
      <summary>The If-Modified-Since header, which specifies that the requested operation should be performed only if the requested resource has been modified since the indicated date and time.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.IfNoneMatch">
      <summary>The If-None-Match header, which specifies that the requested operation should be performed only if none of client's cached copies of the indicated resources are current.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.IfRange">
      <summary>The If-Range header, which specifies that only the specified range of the requested resource should be sent, if the client's cached copy is current.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.IfUnmodifiedSince">
      <summary>The If-Unmodified-Since header, which specifies that the requested operation should be performed only if the requested resource has not been modified since the indicated date and time.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.KeepAlive">
      <summary>The Keep-Alive header, which specifies a parameter used into order to maintain a persistent connection.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.LastModified">
      <summary>The Last-Modified header, which specifies the date and time at which the accompanying body data was last modified.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.MaxForwards">
      <summary>The Max-Forwards header, which specifies an integer indicating the remaining number of times that this request may be forwarded.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Pragma">
      <summary>The Pragma header, which specifies implementation-specific directives that might apply to any agent along the request/response chain.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.ProxyAuthorization">
      <summary>The Proxy-Authorization header, which specifies the credentials that the client presents in order to authenticate itself to a proxy.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Range">
      <summary>The Range header, which specifies the sub-range(s) of the response that the client requests be returned in lieu of the entire response.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Referer">
      <summary>The Referer header, which specifies the URI of the resource from which the request URI was obtained.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Te">
      <summary>The TE header, which specifies the transfer encodings that are acceptable for the response.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Trailer">
      <summary>The Trailer header, which specifies the header fields present in the trailer of a message encoded with chunked transfer-coding.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.TransferEncoding">
      <summary>The Transfer-Encoding header, which specifies what (if any) type of transformation that has been applied to the message body.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Translate">
      <summary>The Translate header, a Microsoft extension to the HTTP specification used in conjunction with WebDAV functionality.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Upgrade">
      <summary>The Upgrade header, which specifies additional communications protocols that the client supports.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.UserAgent">
      <summary>The User-Agent header, which specifies information about the client agent.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Via">
      <summary>The Via header, which specifies intermediate protocols to be used by gateway and proxy agents.</summary>
    </member>
    <member name="F:System.Net.HttpRequestHeader.Warning">
      <summary>The Warning header, which specifies additional information about that status or transformation of a message that might not be reflected in the message.</summary>
    </member>
    <member name="T:System.Net.HttpResponseHeader">
      <summary>The HTTP headers that can be specified in a server response.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.AcceptRanges">
      <summary>The Accept-Ranges header, which specifies the range that is accepted by the server.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Age">
      <summary>The Age header, which specifies the time, in seconds, since the response was generated by the originating server.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Allow">
      <summary>The Allow header, which specifies the set of HTTP methods that are supported.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.CacheControl">
      <summary>The Cache-Control header, which specifies caching directives that must be obeyed by all caching mechanisms along the request/response chain.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Connection">
      <summary>The Connection header, which specifies options that are desired for a particular connection.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentEncoding">
      <summary>The Content-Encoding header, which specifies the encodings that have been applied to the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentLanguage">
      <summary>The Content-Language header, which specifies the natural language or languages of the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentLength">
      <summary>The Content-Length header, which specifies the length, in bytes, of the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentLocation">
      <summary>The Content-Location header, which specifies a URI from which the accompanying body can be obtained.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentMd5">
      <summary>The Content-MD5 header, which specifies the MD5 digest of the accompanying body data, for the purpose of providing an end-to-end message integrity check. Due to collision problems with MD5, Microsoft recommends a security model based on SHA-256 or better.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentRange">
      <summary>The Range header, which specifies the subrange or subranges of the response that the client requests be returned in lieu of the entire response.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ContentType">
      <summary>The Content-Type header, which specifies the MIME type of the accompanying body data.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Date">
      <summary>The Date header, which specifies the date and time at which the response originated.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ETag">
      <summary>The Etag header, which specifies the current value for the requested variant.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Expires">
      <summary>The Expires header, which specifies the date and time after which the accompanying body data should be considered stale.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.KeepAlive">
      <summary>The Keep-Alive header, which specifies a parameter to be used to maintain a persistent connection.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.LastModified">
      <summary>The Last-Modified header, which specifies the date and time at which the accompanying body data was last modified.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Location">
      <summary>The Location header, which specifies a URI to which the client is redirected to obtain the requested resource.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Pragma">
      <summary>The Pragma header, which specifies implementation-specific directives that might apply to any agent along the request/response chain.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.ProxyAuthenticate">
      <summary>The Proxy-Authenticate header, which specifies that the client must authenticate itself to a proxy.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.RetryAfter">
      <summary>The Retry-After header, which specifies a time (in seconds), or a date and time, after which the client can retry its request.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Server">
      <summary>The Server header, which specifies information about the originating server agent.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.SetCookie">
      <summary>The Set-Cookie header, which specifies cookie data that is presented to the client.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Trailer">
      <summary>The Trailer header, which specifies that the indicated header fields are present in the trailer of a message that is encoded with chunked transfer-coding.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.TransferEncoding">
      <summary>The Transfer-Encoding header, which specifies what (if any) type of transformation has been applied to the message body.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Upgrade">
      <summary>The Upgrade header, which specifies additional communications protocols that the client supports.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Vary">
      <summary>The Vary header, which specifies the request headers that are used to determine whether a cached response is fresh.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Via">
      <summary>The Via header, which specifies intermediate protocols to be used by gateway and proxy agents.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.Warning">
      <summary>The Warning header, which specifies additional information about that status or transformation of a message that might not be reflected in the message.</summary>
    </member>
    <member name="F:System.Net.HttpResponseHeader.WwwAuthenticate">
      <summary>The WWW-Authenticate header, which specifies that the client must authenticate itself to the server.</summary>
    </member>
    <member name="T:System.Net.WebHeaderCollection">
      <summary>Contains protocol headers associated with a request or response.</summary>
    </member>
    <member name="M:System.Net.WebHeaderCollection.#ctor">
      <summary>Initializes a new instance of the <see cref="T:System.Net.WebHeaderCollection" /> class.</summary>
    </member>
    <member name="M:System.Net.WebHeaderCollection.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      <summary>Initializes a new instance of the <see cref="T:System.Net.WebHeaderCollection" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
      <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> containing the information required to serialize the <see cref="T:System.Net.WebHeaderCollection" />.</param>
      <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> containing the source of the serialized stream associated with the new <see cref="T:System.Net.WebHeaderCollection" />.</param>
      <exception cref="T:System.ArgumentException">
          The header name contains invalid characters.</exception>
      <exception cref="T:System.ArgumentNullException">
          The header name is a null reference or <see cref="F:System.String.Empty" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Add(System.Net.HttpRequestHeader,System.String)">
      <summary>Inserts the specified header with the specified value into the collection.</summary>
      <param name="header">The header to add to the collection.</param>
      <param name="value">The content of the header.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpRequestHeader" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Add(System.Net.HttpResponseHeader,System.String)">
      <summary>Inserts the specified header with the specified value into the collection.</summary>
      <param name="header">The header to add to the collection.</param>
      <param name="value">The content of the header.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpResponseHeader" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Add(System.String,System.String)">
      <summary>Inserts a header with the specified name and value into the collection.</summary>
      <param name="name">The header to add to the collection.</param>
      <param name="value">The content of the header.</param>
      <exception cref="T:System.ArgumentException">
        <paramref name="name" /> is <see langword="null" />, <see cref="F:System.String.Empty" />, or contains invalid characters.

 -or-

 <paramref name="name" /> is a restricted header that must be set with a property setting.

 -or-

 <paramref name="value" /> contains invalid characters.</exception>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Add(System.String)">
      <summary>Inserts the specified header into the collection.</summary>
      <param name="header">The header to add, with the name and value separated by a colon.</param>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="header" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="header" /> does not contain a colon (:) character.

 -or-

 The length of the value portion of <paramref name="header" /> is greater than 65535.

 -or-

 The name part of <paramref name="header" /> is <see cref="F:System.String.Empty" /> or contains invalid characters.

 -or-

 <paramref name="header" /> is a restricted header that should be set with a property.

 -or-

 The value part of <paramref name="header" /> contains invalid characters.</exception>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of the string after the colon (:) is greater than 65535.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.AddWithoutValidate(System.String,System.String)">
      <summary>Inserts a header into the collection without checking whether the header is on the restricted header list.</summary>
      <param name="headerName">The header to add to the collection.</param>
      <param name="headerValue">The content of the header.</param>
      <exception cref="T:System.ArgumentException">
        <paramref name="headerName" /> is <see langword="null" />, <see cref="F:System.String.Empty" />, or contains invalid characters.

 -or-

 <paramref name="headerValue" /> contains invalid characters.</exception>
      <exception cref="T:System.ArgumentOutOfRangeException">
          .NET Framework and .NET Core only: <paramref name="headerName" /> is not <see langword="null" /> and the length of <paramref name="headerValue" /> is too long (greater than 65,535 characters).</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Clear">
      <summary>Removes all headers from the collection.</summary>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Get(System.Int32)">
      <summary>Gets the value of a particular header in the collection, specified by an index into the collection.</summary>
      <param name="index">The zero-based index of the key to get from the collection.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">
        <paramref name="index" /> is negative.

 -or-

 <paramref name="index" /> exceeds the size of the collection.</exception>
      <returns>A <see cref="T:System.String" /> containing the value of the specified header.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Get(System.String)">
      <summary>Gets the value of a particular header in the collection, specified by the name of the header.</summary>
      <param name="name">The name of the Web header.</param>
      <returns>A <see cref="T:System.String" /> holding the value of the specified header.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.GetEnumerator">
      <summary>Returns an enumerator that can iterate through the <see cref="T:System.Net.WebHeaderCollection" /> instance.</summary>
      <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Net.WebHeaderCollection" />.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.GetKey(System.Int32)">
      <summary>Gets the header name at the specified position in the collection.</summary>
      <param name="index">The zero-based index of the key to get from the collection.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">
        <paramref name="index" /> is negative.

 -or-

 <paramref name="index" /> exceeds the size of the collection.</exception>
      <returns>A <see cref="T:System.String" /> holding the header name.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.</summary>
      <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
      <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
    </member>
    <member name="M:System.Net.WebHeaderCollection.GetValues(System.Int32)">
      <summary>Gets an array of header values stored in the <paramref name="index" /> position of the header collection.</summary>
      <param name="index">The header index to return.</param>
      <returns>An array of header strings.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.GetValues(System.String)">
      <summary>Gets an array of header values stored in a header.</summary>
      <param name="header">The header to return.</param>
      <returns>An array of header strings.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.IsRestricted(System.String,System.Boolean)">
      <summary>Tests whether the specified HTTP header can be set for the request or the response.</summary>
      <param name="headerName">The header to test.</param>
      <param name="response">
        <see langword="true" /> to test the response; <see langword="false" /> to test the request.</param>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="headerName" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="headerName" /> contains invalid characters.</exception>
      <returns>
        <see langword="true" /> if the header is restricted; otherwise, <see langword="false" />.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.IsRestricted(System.String)">
      <summary>Tests whether the specified HTTP header can be set for the request.</summary>
      <param name="headerName">The header to test.</param>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="headerName" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="headerName" /> contains invalid characters.</exception>
      <returns>
        <see langword="true" /> if the header is restricted; otherwise <see langword="false" />.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.OnDeserialization(System.Object)">
      <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and raises the deserialization event when the deserialization is complete.</summary>
      <param name="sender">The source of the deserialization event.</param>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Remove(System.Net.HttpRequestHeader)">
      <summary>Removes the specified header from the collection.</summary>
      <param name="header">The <see cref="T:System.Net.HttpRequestHeader" /> instance to remove from the collection.</param>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpRequestHeader" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Remove(System.Net.HttpResponseHeader)">
      <summary>Removes the specified header from the collection.</summary>
      <param name="header">The <see cref="T:System.Net.HttpResponseHeader" /> instance to remove from the collection.</param>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpResponseHeader" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Remove(System.String)">
      <summary>Removes the specified header from the collection.</summary>
      <param name="name">The name of the header to remove from the collection.</param>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="name" /> is <see langword="null" /><see cref="F:System.String.Empty" />.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="name" /> is a restricted header.

 -or-

 <paramref name="name" /> contains invalid characters.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Set(System.Net.HttpRequestHeader,System.String)">
      <summary>Sets the specified header to the specified value.</summary>
      <param name="header">The <see cref="T:System.Net.HttpRequestHeader" /> value to set.</param>
      <param name="value">The content of the header to set.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpRequestHeader" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Set(System.Net.HttpResponseHeader,System.String)">
      <summary>Sets the specified header to the specified value.</summary>
      <param name="header">The <see cref="T:System.Net.HttpResponseHeader" /> value to set.</param>
      <param name="value">The content of the header to set.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpResponseHeader" />.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.Set(System.String,System.String)">
      <summary>Sets the specified header to the specified value.</summary>
      <param name="name">The header to set.</param>
      <param name="value">The content of the header to set.</param>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="name" /> is <see langword="null" /> or <see cref="F:System.String.Empty" />.</exception>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="name" /> is a restricted header.

 -or-

 <paramref name="name" /> or <paramref name="value" /> contain invalid characters.</exception>
    </member>
    <member name="M:System.Net.WebHeaderCollection.System#Runtime#Serialization#ISerializable#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      <summary>Serializes this instance into the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object.</summary>
      <param name="serializationInfo">The object into which this <see cref="T:System.Net.WebHeaderCollection" /> will be serialized.</param>
      <param name="streamingContext">The destination of the serialization.</param>
    </member>
    <member name="M:System.Net.WebHeaderCollection.ToByteArray">
      <summary>Converts the <see cref="T:System.Net.WebHeaderCollection" /> to a byte array.</summary>
      <returns>A <see cref="T:System.Byte" /> array holding the header collection.</returns>
    </member>
    <member name="M:System.Net.WebHeaderCollection.ToString">
      <summary>This method is obsolete.</summary>
      <returns>The <see cref="T:System.String" /> representation of the collection.</returns>
    </member>
    <member name="P:System.Net.WebHeaderCollection.AllKeys">
      <summary>Gets all header names (keys) in the collection.</summary>
      <returns>An array of type <see cref="T:System.String" /> containing all header names in a Web request.</returns>
    </member>
    <member name="P:System.Net.WebHeaderCollection.Count">
      <summary>Gets the number of headers in the collection.</summary>
      <returns>An <see cref="T:System.Int32" /> indicating the number of headers in a request.</returns>
    </member>
    <member name="P:System.Net.WebHeaderCollection.Item(System.Net.HttpRequestHeader)">
      <summary>Gets or sets the specified request header.</summary>
      <param name="header">The request header value.</param>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpRequestHeader" />.</exception>
      <returns>A <see cref="T:System.String" /> instance containing the specified header value.</returns>
    </member>
    <member name="P:System.Net.WebHeaderCollection.Item(System.Net.HttpResponseHeader)">
      <summary>Gets or sets the specified response header.</summary>
      <param name="header">The response header value.</param>
      <exception cref="T:System.ArgumentOutOfRangeException">.NET Framework and .NET Core versions 2.0 - 3.1 only: The length of <paramref name="value" /> is greater than 65535.</exception>
      <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.WebHeaderCollection" /> instance does not allow instances of <see cref="T:System.Net.HttpResponseHeader" />.</exception>
      <returns>A <see cref="T:System.String" /> instance containing the specified header.</returns>
    </member>
    <member name="P:System.Net.WebHeaderCollection.Keys">
      <summary>Gets the collection of header names (keys) in the collection.</summary>
      <returns>A <see cref="T:System.Collections.Specialized.NameObjectCollectionBase.KeysCollection" /> containing all header names in a Web request.</returns>
    </member>
  </members>
</doc>