diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | samples/InfoCardRelyingParty/Bin/System.Net.Http.xml | 2308 | ||||
-rw-r--r-- | samples/OAuthClient/AzureAD.aspx | 14 | ||||
-rw-r--r-- | samples/OAuthClient/AzureAD.aspx.cs | 26 | ||||
-rw-r--r-- | samples/OAuthClient/Default.aspx | 2 | ||||
-rw-r--r-- | samples/OAuthClient/Web.config | 6 | ||||
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClaims.cs | 6 | ||||
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClient.cs | 149 | ||||
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADHeader.cs | 6 |
9 files changed, 2381 insertions, 137 deletions
@@ -15,6 +15,7 @@ PrecompiledWeb *.user *.tmp *.ldf +*.mdf *.swx .dotest *.Publish.xml diff --git a/samples/InfoCardRelyingParty/Bin/System.Net.Http.xml b/samples/InfoCardRelyingParty/Bin/System.Net.Http.xml new file mode 100644 index 0000000..34457cb --- /dev/null +++ b/samples/InfoCardRelyingParty/Bin/System.Net.Http.xml @@ -0,0 +1,2308 @@ +<?xml version="1.0" encoding="utf-8"?> +<doc> + <assembly> + <name>System.Net.Http</name> + </assembly> + <members> + <member name="T:System.Net.Http.ByteArrayContent"> + <summary>Provides HTTP content based on a byte array.</summary> + </member> + <member name="M:System.Net.Http.ByteArrayContent.#ctor(System.Byte[])"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.ByteArrayContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.ByteArrayContent" />.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> parameter is null. </exception> + </member> + <member name="M:System.Net.Http.ByteArrayContent.#ctor(System.Byte[],System.Int32,System.Int32)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.ByteArrayContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.ByteArrayContent" />.</param> + <param name="offset">The offset, in bytes, in the <paramref name="content" /> parameter used to initialize the <see cref="T:System.Net.Http.ByteArrayContent" />.</param> + <param name="count">The number of bytes in the <paramref name="content" /> starting from the <paramref name="offset" /> parameter used to initialize the <see cref="T:System.Net.Http.ByteArrayContent" />.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> parameter is null. </exception> + <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="offset" /> parameter is less than zero.-or-The <paramref name="offset" /> parameter is greater than the length of content specified by the <paramref name="content" /> parameter.-or-The <paramref name="count " /> parameter is less than zero.-or-The <paramref name="count" /> parameter is greater than the length of content specified by the <paramref name="content" /> parameter - minus the <paramref name="offset" /> parameter.</exception> + </member> + <member name="M:System.Net.Http.ByteArrayContent.CreateContentReadStreamAsync"> + <summary>Creates an HTTP content stream as an asynchronous operation for reading whose backing store is memory from the <see cref="T:System.Net.Http.ByteArrayContent" />.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.ByteArrayContent.SerializeToStreamAsync(System.IO.Stream,System.Net.TransportContext)"> + <summary>Serialize and write the byte array provided in the constructor to an HTTP content stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />. The task object representing the asynchronous operation.</returns> + <param name="stream">The target stream.</param> + <param name="context">Information about the transport, like channel binding token. This parameter may be null.</param> + </member> + <member name="M:System.Net.Http.ByteArrayContent.TryComputeLength(System.Int64@)"> + <summary>Determines whether a byte array has a valid length in bytes.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="length" /> is a valid length; otherwise, false.</returns> + <param name="length">The length in bytes of the byte array.</param> + </member> + <member name="T:System.Net.Http.ClientCertificateOption"> + <summary>Specifies how client certificates are provided.</summary> + </member> + <member name="F:System.Net.Http.ClientCertificateOption.Manual"> + <summary>The application manually provides the client certificates to the <see cref="T:System.Net.Http.WebRequestHandler" />. This value is the default. </summary> + </member> + <member name="F:System.Net.Http.ClientCertificateOption.Automatic"> + <summary>The <see cref="T:System.Net.Http.HttpClientHandler" /> will attempt to provide all available client certificates automatically.</summary> + </member> + <member name="T:System.Net.Http.DelegatingHandler"> + <summary>A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler.</summary> + </member> + <member name="M:System.Net.Http.DelegatingHandler.#ctor"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.DelegatingHandler" /> class.</summary> + </member> + <member name="M:System.Net.Http.DelegatingHandler.#ctor(System.Net.Http.HttpMessageHandler)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.DelegatingHandler" /> class with a specific inner handler.</summary> + <param name="innerHandler">The inner handler which is responsible for processing the HTTP response messages.</param> + </member> + <member name="M:System.Net.Http.DelegatingHandler.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.DelegatingHandler" />, and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources. </param> + </member> + <member name="P:System.Net.Http.DelegatingHandler.InnerHandler"> + <summary>Gets or sets the inner handler which processes the HTTP response messages.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMessageHandler" />.The inner handler for HTTP response messages.</returns> + </member> + <member name="M:System.Net.Http.DelegatingHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />. The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send to the server.</param> + <param name="cancellationToken">A cancellation token to cancel operation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + </member> + <member name="T:System.Net.Http.FormUrlEncodedContent"> + <summary>A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type.</summary> + </member> + <member name="M:System.Net.Http.FormUrlEncodedContent.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}})"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.FormUrlEncodedContent" /> class with a specific collection of name/value pairs.</summary> + <param name="nameValueCollection">A collection of name/value pairs.</param> + </member> + <member name="T:System.Net.Http.HttpClient"> + <summary>Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. </summary> + </member> + <member name="M:System.Net.Http.HttpClient.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpClient" /> class.</summary> + </member> + <member name="M:System.Net.Http.HttpClient.#ctor(System.Net.Http.HttpMessageHandler)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpClient" /> class with a specific handler.</summary> + <param name="handler">The HTTP handler stack to use for sending requests. </param> + </member> + <member name="M:System.Net.Http.HttpClient.#ctor(System.Net.Http.HttpMessageHandler,System.Boolean)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpClient" /> class with a specific handler.</summary> + <param name="handler">The <see cref="T:System.Net.Http.HttpMessageHandler" /> responsible for processing the HTTP response messages.</param> + <param name="disposeHandler">true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler.</param> + </member> + <member name="P:System.Net.Http.HttpClient.BaseAddress"> + <summary>Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.</summary> + <returns>Returns <see cref="T:System.Uri" />.The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests.</returns> + </member> + <member name="M:System.Net.Http.HttpClient.CancelPendingRequests"> + <summary>Cancel all pending requests on this instance.</summary> + </member> + <member name="P:System.Net.Http.HttpClient.DefaultRequestHeaders"> + <summary>Gets the headers which should be sent with each request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpRequestHeaders" />.The headers which should be sent with each request.</returns> + </member> + <member name="M:System.Net.Http.HttpClient.DeleteAsync(System.String)"> + <summary>Send a DELETE request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.DeleteAsync(System.String,System.Threading.CancellationToken)"> + <summary>Send a DELETE request to the specified Uri with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.DeleteAsync(System.Uri)"> + <summary>Send a DELETE request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.DeleteAsync(System.Uri,System.Threading.CancellationToken)"> + <summary>Send a DELETE request to the specified Uri with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpClient" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.String)"> + <summary>Send a GET request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.String,System.Net.Http.HttpCompletionOption)"> + <summary>Send a GET request to the specified Uri with an HTTP completion option as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="completionOption">An HTTP completion option value that indicates when the operation should be considered completed.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.String,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)"> + <summary>Send a GET request to the specified Uri with an HTTP completion option and a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="completionOption">An HTTP completion option value that indicates when the operation should be considered completed.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.String,System.Threading.CancellationToken)"> + <summary>Send a GET request to the specified Uri with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.Uri)"> + <summary>Send a GET request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.Uri,System.Net.Http.HttpCompletionOption)"> + <summary>Send a GET request to the specified Uri with an HTTP completion option as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="completionOption">An HTTP completion option value that indicates when the operation should be considered completed.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.Uri,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)"> + <summary>Send a GET request to the specified Uri with an HTTP completion option and a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="completionOption">An HTTP completion option value that indicates when the operation should be considered completed.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetAsync(System.Uri,System.Threading.CancellationToken)"> + <summary>Send a GET request to the specified Uri with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetByteArrayAsync(System.String)"> + <summary>Send a GET request to the specified Uri and return the response body as a byte array in an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetByteArrayAsync(System.Uri)"> + <summary>Send a GET request to the specified Uri and return the response body as a byte array in an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetStreamAsync(System.String)"> + <summary>Send a GET request to the specified Uri and return the response body as a stream in an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetStreamAsync(System.Uri)"> + <summary>Send a GET request to the specified Uri and return the response body as a stream in an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetStringAsync(System.String)"> + <summary>Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.GetStringAsync(System.Uri)"> + <summary>Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="P:System.Net.Http.HttpClient.MaxResponseContentBufferSize"> + <summary>Gets or sets the maximum number of bytes to buffer when reading the response content.</summary> + <returns>Returns <see cref="T:System.Int32" />.The maximum number of bytes to buffer when reading the response content. The default value for this property is 64K.</returns> + <exception cref="T:System.ArgumentOutOfRangeException">The size specified is less than or equal to zero.</exception> + <exception cref="T:System.InvalidOperationException">An operation has already been started on the current instance. </exception> + <exception cref="T:System.ObjectDisposedException">The current instance has been disposed. </exception> + </member> + <member name="M:System.Net.Http.HttpClient.PostAsync(System.String,System.Net.Http.HttpContent)"> + <summary>Send a POST request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PostAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)"> + <summary>Send a POST request with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PostAsync(System.Uri,System.Net.Http.HttpContent)"> + <summary>Send a POST request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PostAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)"> + <summary>Send a POST request with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PutAsync(System.String,System.Net.Http.HttpContent)"> + <summary>Send a PUT request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PutAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)"> + <summary>Send a PUT request with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PutAsync(System.Uri,System.Net.Http.HttpContent)"> + <summary>Send a PUT request to the specified Uri as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.PutAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)"> + <summary>Send a PUT request with a cancellation token as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="requestUri">The Uri the request is sent to.</param> + <param name="content">The HTTP request content sent to the server.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="requestUri" /> was null.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage)"> + <summary>Send an HTTP request as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + <exception cref="T:System.InvalidOperationException">The request message was already sent by the <see cref="T:System.Net.Http.HttpClient" /> instance.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)"> + <summary>Send an HTTP request as an asynchronous operation. </summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send.</param> + <param name="completionOption">When the operation should complete (as soon as a response is available or after reading the whole response content).</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + <exception cref="T:System.InvalidOperationException">The request message was already sent by the <see cref="T:System.Net.Http.HttpClient" /> instance.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)"> + <summary>Send an HTTP request as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send.</param> + <param name="completionOption">When the operation should complete (as soon as a response is available or after reading the whole response content).</param> + <param name="cancellationToken">The cancellation token to cancel operation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + <exception cref="T:System.InvalidOperationException">The request message was already sent by the <see cref="T:System.Net.Http.HttpClient" /> instance.</exception> + </member> + <member name="M:System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Send an HTTP request as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send.</param> + <param name="cancellationToken">The cancellation token to cancel operation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + <exception cref="T:System.InvalidOperationException">The request message was already sent by the <see cref="T:System.Net.Http.HttpClient" /> instance.</exception> + </member> + <member name="P:System.Net.Http.HttpClient.Timeout"> + <summary>Gets or sets the number of milliseconds to wait before the request times out.</summary> + <returns>Returns <see cref="T:System.TimeSpan" />.The number of milliseconds to wait before the request times out.</returns> + <exception cref="T:System.ArgumentOutOfRangeException">The timeout specified is less than or equal to zero and is not <see cref="F:System.Threading.Timeout.Infinite" />.</exception> + <exception cref="T:System.InvalidOperationException">An operation has already been started on the current instance. </exception> + <exception cref="T:System.ObjectDisposedException">The current instance has been disposed.</exception> + </member> + <member name="T:System.Net.Http.HttpClientHandler"> + <summary>The default message handler used by <see cref="T:System.Net.Http.HttpClient" />. </summary> + </member> + <member name="M:System.Net.Http.HttpClientHandler.#ctor"> + <summary>Creates an instance of a <see cref="T:System.Net.Http.HttpClientHandler" /> class.</summary> + </member> + <member name="P:System.Net.Http.HttpClientHandler.AllowAutoRedirect"> + <summary>Gets or sets a value that indicates whether the handler should follow redirection responses.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the if the handler should follow redirection responses; otherwise false. The default value is true.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.AutomaticDecompression"> + <summary>Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.</summary> + <returns>Returns <see cref="T:System.Net.DecompressionMethods" />.The automatic decompression method used by the handler. The default value is <see cref="F:System.Net.DecompressionMethods.None" />.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.ClientCertificateOptions"> + <summary>Gets or sets the collection of security certificates that are associated with this handler.</summary> + <returns>Returns <see cref="T:System.Net.Http.ClientCertificateOption" />.The collection of security certificates associated with this handler.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.CookieContainer"> + <summary>Gets or sets the cookie container used to store server cookies by the handler.</summary> + <returns>Returns <see cref="T:System.Net.CookieContainer" />.The cookie container used to store server cookies by the handler.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.Credentials"> + <summary>Gets or sets authentication information used by this handler.</summary> + <returns>Returns <see cref="T:System.Net.ICredentials" />.The authentication credentials associated with the handler. The default is null.</returns> + </member> + <member name="M:System.Net.Http.HttpClientHandler.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpClientHandler" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="P:System.Net.Http.HttpClientHandler.MaxAutomaticRedirections"> + <summary>Gets or sets the maximum number of redirects that the handler follows.</summary> + <returns>Returns <see cref="T:System.Int32" />.The maximum number of redirection responses that the handler follows. The default value is 50.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.MaxRequestContentBufferSize"> + <summary>Gets or sets the maximum request content buffer size used by the handler.</summary> + <returns>Returns <see cref="T:System.Int32" />.The maximum request content buffer size in bytes. The default value is 65,536 bytes.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.PreAuthenticate"> + <summary>Gets or sets a value that indicates whether the handler sends an Authorization header with the request.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true for the handler to send an HTTP Authorization header with requests after authentication has taken place; otherwise, false. The default is false.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.Proxy"> + <summary>Gets or sets proxy information used by the handler.</summary> + <returns>Returns <see cref="T:System.Net.IWebProxy" />.The proxy information used by the handler. The default value is null.</returns> + </member> + <member name="M:System.Net.Http.HttpClientHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Creates an instance of <see cref="T:System.Net.Http.HttpResponseMessage" /> based on the information provided in the <see cref="T:System.Net.Http.HttpRequestMessage" /> as an operation that will not block.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message.</param> + <param name="cancellationToken">A cancellation token to cancel the operation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + </member> + <member name="P:System.Net.Http.HttpClientHandler.SupportsAutomaticDecompression"> + <summary>Gets a value that indicates whether the handler supports automatic response content decompression.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the if the handler supports automatic response content decompression; otherwise false. The default value is true.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.SupportsProxy"> + <summary>Gets a value that indicates whether the handler supports proxy settings.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the if the handler supports proxy settings; otherwise false. The default value is true.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.SupportsRedirectConfiguration"> + <summary>Gets a value that indicates whether the handler supports configuration settings for the <see cref="P:System.Net.Http.HttpClientHandler.AllowAutoRedirect" /> and <see cref="P:System.Net.Http.HttpClientHandler.MaxAutomaticRedirections" /> properties.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the if the handler supports configuration settings for the <see cref="P:System.Net.Http.HttpClientHandler.AllowAutoRedirect" /> and <see cref="P:System.Net.Http.HttpClientHandler.MaxAutomaticRedirections" /> properties; otherwise false. The default value is true.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.UseCookies"> + <summary>Gets or sets a value that indicates whether the handler uses the <see cref="P:System.Net.Http.HttpClientHandler.CookieContainer" /> property to store server cookies and uses these cookies when sending requests.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the if the handler supports uses the <see cref="P:System.Net.Http.HttpClientHandler.CookieContainer" /> property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.UseDefaultCredentials"> + <summary>Gets or sets a value that controls whether default credentials are sent with requests by the handler.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the default credentials are used; otherwise false. The default value is false.</returns> + </member> + <member name="P:System.Net.Http.HttpClientHandler.UseProxy"> + <summary>Gets or sets a value that indicates whether the handler uses a proxy for requests. </summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the handler should use a proxy for requests; otherwise false. The default value is true.</returns> + </member> + <member name="T:System.Net.Http.HttpCompletionOption"> + <summary>Indicates if <see cref="T:System.Net.Http.HttpClient" /> operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content. </summary> + </member> + <member name="F:System.Net.Http.HttpCompletionOption.ResponseContentRead"> + <summary>The operation should complete after reading the entire response including the content.</summary> + </member> + <member name="F:System.Net.Http.HttpCompletionOption.ResponseHeadersRead"> + <summary>The operation should complete as soon as a response is available and headers are read. The content is not read yet. </summary> + </member> + <member name="T:System.Net.Http.HttpContent"> + <summary>A base class representing an HTTP entity body and content headers.</summary> + </member> + <member name="M:System.Net.Http.HttpContent.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpContent" /> class.</summary> + </member> + <member name="M:System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream)"> + <summary>Write the HTTP content to a stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + <param name="stream">The target stream.</param> + </member> + <member name="M:System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream,System.Net.TransportContext)"> + <summary>Write the HTTP content to a stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + <param name="stream">The target stream.</param> + <param name="context">Information about the transport (channel binding token, for example). This parameter may be null.</param> + </member> + <member name="M:System.Net.Http.HttpContent.CreateContentReadStreamAsync"> + <summary>Write the HTTP content to a memory stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.HttpContent.Dispose"> + <summary>Releases the unmanaged resources and disposes of the managed resources used by the <see cref="T:System.Net.Http.HttpContent" />.</summary> + </member> + <member name="M:System.Net.Http.HttpContent.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpContent" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="P:System.Net.Http.HttpContent.Headers"> + <summary>Gets the HTTP content headers as defined in RFC 2616.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpContentHeaders" />.The content headers as defined in RFC 2616.</returns> + </member> + <member name="M:System.Net.Http.HttpContent.LoadIntoBufferAsync"> + <summary>Serialize the HTTP content to a memory buffer as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.HttpContent.LoadIntoBufferAsync(System.Int64)"> + <summary>Serialize the HTTP content to a memory buffer as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + <param name="maxBufferSize">The maximum size, in bytes, of the buffer to use.</param> + </member> + <member name="M:System.Net.Http.HttpContent.ReadAsByteArrayAsync"> + <summary>Write the HTTP content to a byte array as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.HttpContent.ReadAsStreamAsync"> + <summary>Write the HTTP content to a stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.HttpContent.ReadAsStringAsync"> + <summary>Write the HTTP content to a string as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.HttpContent.SerializeToStreamAsync(System.IO.Stream,System.Net.TransportContext)"> + <summary>Serialize the HTTP content to a stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + <param name="stream">The target stream.</param> + <param name="context">Information about the transport (channel binding token, for example). This parameter may be null.</param> + </member> + <member name="M:System.Net.Http.HttpContent.TryComputeLength(System.Int64@)"> + <summary>Determines whether the HTTP content has a valid length in bytes.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="length" /> is a valid length; otherwise, false.</returns> + <param name="length">The length in bytes of the HHTP content.</param> + </member> + <member name="T:System.Net.Http.HttpMessageHandler"> + <summary>A base type for HTTP message handlers.</summary> + </member> + <member name="M:System.Net.Http.HttpMessageHandler.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpMessageHandler" /> class.</summary> + </member> + <member name="M:System.Net.Http.HttpMessageHandler.Dispose"> + <summary>Releases the unmanaged resources and disposes of the managed resources used by the <see cref="T:System.Net.Http.HttpMessageHandler" />.</summary> + </member> + <member name="M:System.Net.Http.HttpMessageHandler.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpMessageHandler" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="M:System.Net.Http.HttpMessageHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Send an HTTP request as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send.</param> + <param name="cancellationToken">The cancellation token to cancel operation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + </member> + <member name="T:System.Net.Http.HttpMessageInvoker"> + <summary>The base type for <see cref="T:System.Net.Http.HttpClient" /> and other message originators.</summary> + </member> + <member name="M:System.Net.Http.HttpMessageInvoker.#ctor(System.Net.Http.HttpMessageHandler)"> + <summary>Initializes an instance of a <see cref="T:System.Net.Http.HttpMessageInvoker" /> class with a specific <see cref="T:System.Net.Http.HttpMessageHandler" />.</summary> + <param name="handler">The <see cref="T:System.Net.Http.HttpMessageHandler" /> responsible for processing the HTTP response messages.</param> + </member> + <member name="M:System.Net.Http.HttpMessageInvoker.#ctor(System.Net.Http.HttpMessageHandler,System.Boolean)"> + <summary>Initializes an instance of a <see cref="T:System.Net.Http.HttpMessageInvoker" /> class with a specific <see cref="T:System.Net.Http.HttpMessageHandler" />.</summary> + <param name="handler">The <see cref="T:System.Net.Http.HttpMessageHandler" /> responsible for processing the HTTP response messages.</param> + <param name="disposeHandler">true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler.</param> + </member> + <member name="M:System.Net.Http.HttpMessageInvoker.Dispose"> + <summary>Releases the unmanaged resources and disposes of the managed resources used by the <see cref="T:System.Net.Http.HttpMessageInvoker" />.</summary> + </member> + <member name="M:System.Net.Http.HttpMessageInvoker.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpMessageInvoker" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="M:System.Net.Http.HttpMessageInvoker.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Send an HTTP request as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send.</param> + <param name="cancellationToken">The cancellation token to cancel operation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + </member> + <member name="T:System.Net.Http.HttpMethod"> + <summary>A helper class for retrieving and comparing standard HTTP methods.</summary> + </member> + <member name="M:System.Net.Http.HttpMethod.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpMethod" /> class with a specific HTTP method.</summary> + <param name="method">The HTTP method.</param> + </member> + <member name="P:System.Net.Http.HttpMethod.Delete"> + <summary>Represents an HTTP DELETE protocol method.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="M:System.Net.Http.HttpMethod.Equals(System.Net.Http.HttpMethod)"> + <summary>Determines whether the specified <see cref="T:System.Net.Http.HttpMethod" /> is equal to the current <see cref="T:System.Object" />.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified object is equal to the current object; otherwise, false.</returns> + <param name="other">The HTTP method to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.HttpMethod.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified object is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="P:System.Net.Http.HttpMethod.Get"> + <summary>Represents an HTTP GET protocol method.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="M:System.Net.Http.HttpMethod.GetHashCode"> + <summary>Serves as a hash function for this type.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current <see cref="T:System.Object" />.</returns> + </member> + <member name="P:System.Net.Http.HttpMethod.Head"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="P:System.Net.Http.HttpMethod.Method"> + <summary>An HTTP method. </summary> + <returns>Returns <see cref="T:System.String" />.An HTTP method represented as a <see cref="T:System.String" />.</returns> + </member> + <member name="M:System.Net.Http.HttpMethod.op_Equality(System.Net.Http.HttpMethod,System.Net.Http.HttpMethod)"> + <summary>The equality operator for comparing two <see cref="T:System.Net.Http.HttpMethod" /> objects.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <paramref name="left" /> and <paramref name="right" /> parameters are equal; otherwise, false.</returns> + <param name="left">The left <see cref="T:System.Net.Http.HttpMethod" /> to an equality operator.</param> + <param name="right">The right <see cref="T:System.Net.Http.HttpMethod" /> to an equality operator.</param> + </member> + <member name="M:System.Net.Http.HttpMethod.op_Inequality(System.Net.Http.HttpMethod,System.Net.Http.HttpMethod)"> + <summary>The inequality operator for comparing two <see cref="T:System.Net.Http.HttpMethod" /> objects.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <paramref name="left" /> and <paramref name="right" /> parameters are inequal; otherwise, false.</returns> + <param name="left">The left <see cref="T:System.Net.Http.HttpMethod" /> to an inequality operator.</param> + <param name="right">The right <see cref="T:System.Net.Http.HttpMethod" /> to an inequality operator.</param> + </member> + <member name="P:System.Net.Http.HttpMethod.Options"> + <summary>Represents an HTTP OPTIONS protocol method.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="P:System.Net.Http.HttpMethod.Post"> + <summary>Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="P:System.Net.Http.HttpMethod.Put"> + <summary>Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="M:System.Net.Http.HttpMethod.ToString"> + <summary>Returns a string that represents the current object.</summary> + <returns>Returns <see cref="T:System.String" />.A string representing the current object.</returns> + </member> + <member name="P:System.Net.Http.HttpMethod.Trace"> + <summary>Represents an HTTP TRACE protocol method.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.</returns> + </member> + <member name="T:System.Net.Http.HttpRequestException"> + <summary>A base class for exceptions thrown by the <see cref="T:System.Net.Http.HttpClient" /> and <see cref="T:System.Net.Http.HttpMessageHandler" /> classes.</summary> + </member> + <member name="M:System.Net.Http.HttpRequestException.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestException" /> class.</summary> + </member> + <member name="M:System.Net.Http.HttpRequestException.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestException" /> class with a specific message that describes the current exception.</summary> + <param name="message">A message that describes the current exception.</param> + </member> + <member name="M:System.Net.Http.HttpRequestException.#ctor(System.String,System.Exception)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestException" /> class with a specific message that describes the current exception and an inner exception.</summary> + <param name="message">A message that describes the current exception.</param> + <param name="inner">The inner exception.</param> + </member> + <member name="T:System.Net.Http.HttpRequestMessage"> + <summary>Represents a HTTP request message.</summary> + </member> + <member name="M:System.Net.Http.HttpRequestMessage.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage" /> class.</summary> + </member> + <member name="M:System.Net.Http.HttpRequestMessage.#ctor(System.Net.Http.HttpMethod,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage" /> class with an HTTP method and a request <see cref="T:System.Uri" />.</summary> + <param name="method">The HTTP method.</param> + <param name="requestUri">A string that represents the request <see cref="T:System.Uri" />.</param> + </member> + <member name="M:System.Net.Http.HttpRequestMessage.#ctor(System.Net.Http.HttpMethod,System.Uri)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage" /> class with an HTTP method and a request <see cref="T:System.Uri" />.</summary> + <param name="method">The HTTP method.</param> + <param name="requestUri">The <see cref="T:System.Uri" /> to request.</param> + </member> + <member name="P:System.Net.Http.HttpRequestMessage.Content"> + <summary>Gets or sets the contents of the HTTP message. </summary> + <returns>Returns <see cref="T:System.Net.Http.HttpContent" />.The content of a message</returns> + </member> + <member name="M:System.Net.Http.HttpRequestMessage.Dispose"> + <summary>Releases the unmanaged resources and disposes of the managed resources used by the <see cref="T:System.Net.Http.HttpRequestMessage" />.</summary> + </member> + <member name="M:System.Net.Http.HttpRequestMessage.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpRequestMessage" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="P:System.Net.Http.HttpRequestMessage.Headers"> + <summary>Gets the collection of HTTP request headers.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpRequestHeaders" />.The collection of HTTP request headers.</returns> + </member> + <member name="P:System.Net.Http.HttpRequestMessage.Method"> + <summary>Gets or sets the HTTP method used by the HTTP request message.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpMethod" />.The HTTP method used by the request message. The default is the GET method.</returns> + </member> + <member name="P:System.Net.Http.HttpRequestMessage.Properties"> + <summary>Gets a set of properties for the HTTP request.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> + </member> + <member name="P:System.Net.Http.HttpRequestMessage.RequestUri"> + <summary>Gets or sets the <see cref="T:System.Uri" /> used for the HTTP request.</summary> + <returns>Returns <see cref="T:System.Uri" />.The <see cref="T:System.Uri" /> used for the HTTP request.</returns> + </member> + <member name="M:System.Net.Http.HttpRequestMessage.ToString"> + <summary>Returns a string that represents the current object.</summary> + <returns>Returns <see cref="T:System.String" />.A string representation of the current object.</returns> + </member> + <member name="P:System.Net.Http.HttpRequestMessage.Version"> + <summary>Gets or sets the HTTP message version.</summary> + <returns>Returns <see cref="T:System.Version" />.The HTTP message version. The default is 1.1.</returns> + </member> + <member name="T:System.Net.Http.HttpResponseMessage"> + <summary>Represents a HTTP response message.</summary> + </member> + <member name="M:System.Net.Http.HttpResponseMessage.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage" /> class.</summary> + </member> + <member name="M:System.Net.Http.HttpResponseMessage.#ctor(System.Net.HttpStatusCode)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage" /> class with a specific <see cref="P:System.Net.Http.HttpResponseMessage.StatusCode" />.</summary> + <param name="statusCode">The status code of the HTTP response.</param> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.Content"> + <summary>Gets or sets the content of a HTTP response message. </summary> + <returns>Returns <see cref="T:System.Net.Http.HttpContent" />.The content of the HTTP response message.</returns> + </member> + <member name="M:System.Net.Http.HttpResponseMessage.Dispose"> + <summary>Releases the unmanaged resources and disposes of unmanaged resources used by the <see cref="T:System.Net.Http.HttpResponseMessage" />.</summary> + </member> + <member name="M:System.Net.Http.HttpResponseMessage.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpResponseMessage" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="M:System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode"> + <summary>Throws an exception if the <see cref="P:System.Net.Http.HttpResponseMessage.IsSuccessStatusCode" /> property for the HTTP response is false.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpResponseMessage" />.The HTTP response message if the call is successful.</returns> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.Headers"> + <summary>Gets the collection of HTTP response headers. </summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpResponseHeaders" />.The collection of HTTP response headers.</returns> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.IsSuccessStatusCode"> + <summary>Gets a value that indicates if the HTTP response was successful.</summary> + <returns>Returns <see cref="T:System.Boolean" />.A value that indicates if the HTTP response was successful. true if <see cref="P:System.Net.Http.HttpResponseMessage.StatusCode" /> was in the range 200-299; otherwise false.</returns> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.ReasonPhrase"> + <summary>Gets or sets the reason phrase which typically is sent by servers together with the status code. </summary> + <returns>Returns <see cref="T:System.String" />.The reason phrase sent by the server.</returns> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.RequestMessage"> + <summary>Gets or sets the request message which led to this response message.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpRequestMessage" />.The request message which led to this response message.</returns> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.StatusCode"> + <summary>Gets or sets the status code of the HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.HttpStatusCode" />.The status code of the HTTP response.</returns> + </member> + <member name="M:System.Net.Http.HttpResponseMessage.ToString"> + <summary>Returns a string that represents the current object.</summary> + <returns>Returns <see cref="T:System.String" />.A string representation of the current object.</returns> + </member> + <member name="P:System.Net.Http.HttpResponseMessage.Version"> + <summary>Gets or sets the HTTP message version. </summary> + <returns>Returns <see cref="T:System.Version" />.The HTTP message version. The default is 1.1. </returns> + </member> + <member name="T:System.Net.Http.MessageProcessingHandler"> + <summary>A base type for handlers which only do some small processing of request and/or response messages.</summary> + </member> + <member name="M:System.Net.Http.MessageProcessingHandler.#ctor"> + <summary>Creates an instance of a <see cref="T:System.Net.Http.MessageProcessingHandler" /> class.</summary> + </member> + <member name="M:System.Net.Http.MessageProcessingHandler.#ctor(System.Net.Http.HttpMessageHandler)"> + <summary>Creates an instance of a <see cref="T:System.Net.Http.MessageProcessingHandler" /> class with a specific inner handler.</summary> + <param name="innerHandler">The inner handler which is responsible for processing the HTTP response messages.</param> + </member> + <member name="M:System.Net.Http.MessageProcessingHandler.ProcessRequest(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Processes an HTTP request message.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpRequestMessage" />.The HTTP request message that was processed.</returns> + <param name="request">The HTTP request message to process.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + </member> + <member name="M:System.Net.Http.MessageProcessingHandler.ProcessResponse(System.Net.Http.HttpResponseMessage,System.Threading.CancellationToken)"> + <summary>Processes an HTTP response message.</summary> + <returns>Returns <see cref="T:System.Net.Http.HttpResponseMessage" />.The HTTP response message that was processed.</returns> + <param name="response">The HTTP response message to process.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + </member> + <member name="M:System.Net.Http.MessageProcessingHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)"> + <summary>Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + <param name="request">The HTTP request message to send to the server.</param> + <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="request" /> was null.</exception> + </member> + <member name="T:System.Net.Http.MultipartContent"> + <summary>Provides a collection of <see cref="T:System.Net.Http.HttpContent" /> objects that get serialized using the multipart/* content type specification.</summary> + </member> + <member name="M:System.Net.Http.MultipartContent.#ctor"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.MultipartContent" /> class.</summary> + </member> + <member name="M:System.Net.Http.MultipartContent.#ctor(System.String)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.MultipartContent" /> class.</summary> + <param name="subtype">The subtype of the multipart content.</param> + <exception cref="T:System.ArgumentException">The <paramref name="subtype" /> was null or contains only white space characters.</exception> + </member> + <member name="M:System.Net.Http.MultipartContent.#ctor(System.String,System.String)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.MultipartContent" /> class.</summary> + <param name="subtype">The subtype of the multipart content.</param> + <param name="boundary">The boundary string for the multipart content.</param> + <exception cref="T:System.ArgumentException">The <paramref name="subtype" /> was null or an empty string.The <paramref name="boundary" /> was null or contains only white space characters.-or-The <paramref name="boundary" /> ends with a space character.</exception> + <exception cref="T:System.OutOfRangeException">The length of the <paramref name="boundary" /> was greater than 70.</exception> + </member> + <member name="M:System.Net.Http.MultipartContent.Add(System.Net.Http.HttpContent)"> + <summary>Add multipart HTTP content to a collection of <see cref="T:System.Net.Http.HttpContent" /> objects that get serialized using the multipart/* content type specification.</summary> + <param name="content">The HTTP content to add to the collection.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> was null.</exception> + </member> + <member name="M:System.Net.Http.MultipartContent.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.MultipartContent" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="M:System.Net.Http.MultipartContent.GetEnumerator"> + <summary>Returns an enumerator that iterates through the collection of <see cref="T:System.Net.Http.HttpContent" /> objects that get serialized using the multipart/* content type specification..</summary> + <returns>Returns <see cref="T:System.Collections.Generic.IEnumerator`1" />.An object that can be used to iterate through the collection.</returns> + </member> + <member name="M:System.Net.Http.MultipartContent.SerializeToStreamAsync(System.IO.Stream,System.Net.TransportContext)"> + <summary>Serialize the multipart HTTP content to a stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + <param name="stream">The target stream.</param> + <param name="context">Information about the transport (channel binding token, for example). This parameter may be null.</param> + </member> + <member name="M:System.Net.Http.MultipartContent.System#Collections#IEnumerable#GetEnumerator"> + <summary>The explicit implementation of the <see cref="M:System.Net.Http.MultipartContent.GetEnumerator" /> method.</summary> + <returns>Returns <see cref="T:System.Collections.IEnumerator" />.An object that can be used to iterate through the collection.</returns> + </member> + <member name="M:System.Net.Http.MultipartContent.TryComputeLength(System.Int64@)"> + <summary>Determines whether the HTTP multipart content has a valid length in bytes.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="length" /> is a valid length; otherwise, false.</returns> + <param name="length">The length in bytes of the HHTP content.</param> + </member> + <member name="T:System.Net.Http.MultipartFormDataContent"> + <summary>Provides a container for content encoded using multipart/form-data MIME type.</summary> + </member> + <member name="M:System.Net.Http.MultipartFormDataContent.#ctor"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.MultipartFormDataContent" /> class.</summary> + </member> + <member name="M:System.Net.Http.MultipartFormDataContent.#ctor(System.String)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.MultipartFormDataContent" /> class.</summary> + <param name="boundary">The boundary string for the multipart form data content.</param> + <exception cref="T:System.ArgumentException">The <paramref name="boundary" /> was null or contains only white space characters.-or-The <paramref name="boundary" /> ends with a space character.</exception> + <exception cref="T:System.OutOfRangeException">The length of the <paramref name="boundary" /> was greater than 70.</exception> + </member> + <member name="M:System.Net.Http.MultipartFormDataContent.Add(System.Net.Http.HttpContent)"> + <summary>Add HTTP content to a collection of <see cref="T:System.Net.Http.HttpContent" /> objects that get serialized to multipart/form-data MIME type.</summary> + <param name="content">The HTTP content to add to the collection.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> was null.</exception> + </member> + <member name="M:System.Net.Http.MultipartFormDataContent.Add(System.Net.Http.HttpContent,System.String)"> + <summary>Add HTTP content to a collection of <see cref="T:System.Net.Http.HttpContent" /> objects that get serialized to multipart/form-data MIME type.</summary> + <param name="content">The HTTP content to add to the collection.</param> + <param name="name">The name for the HTTP content to add.</param> + <exception cref="T:System.ArgumentException">The <paramref name="name" /> was null or contains only white space characters.</exception> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> was null.</exception> + </member> + <member name="M:System.Net.Http.MultipartFormDataContent.Add(System.Net.Http.HttpContent,System.String,System.String)"> + <summary>Add HTTP content to a collection of <see cref="T:System.Net.Http.HttpContent" /> objects that get serialized to multipart/form-data MIME type.</summary> + <param name="content">The HTTP content to add to the collection.</param> + <param name="name">The name for the HTTP content to add.</param> + <param name="fileName">The file name for the HTTP content to add to the collection.</param> + <exception cref="T:System.ArgumentException">The <paramref name="name" /> was null or contains only white space characters.-or-The <paramref name="fileName" /> was null or contains only white space characters.</exception> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> was null.</exception> + </member> + <member name="T:System.Net.Http.StreamContent"> + <summary>Provides HTTP content based on a stream.</summary> + </member> + <member name="M:System.Net.Http.StreamContent.#ctor(System.IO.Stream)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.StreamContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.StreamContent" />.</param> + </member> + <member name="M:System.Net.Http.StreamContent.#ctor(System.IO.Stream,System.Int32)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.StreamContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.StreamContent" />.</param> + <param name="bufferSize">The size, in bytes, of the buffer for the <see cref="T:System.Net.Http.StreamContent" />.</param> + <exception cref="T:System.ArgumentNullException">The <paramref name="content" /> was null.</exception> + <exception cref="T:System.OutOfRangeException">The <paramref name="bufferSize" /> was less than or equal to zero. </exception> + </member> + <member name="M:System.Net.Http.StreamContent.CreateContentReadStreamAsync"> + <summary>Write the HTTP stream content to a memory stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation.</returns> + </member> + <member name="M:System.Net.Http.StreamContent.Dispose(System.Boolean)"> + <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.StreamContent" /> and optionally disposes of the managed resources.</summary> + <param name="disposing">true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param> + </member> + <member name="M:System.Net.Http.StreamContent.SerializeToStreamAsync(System.IO.Stream,System.Net.TransportContext)"> + <summary>Serialize the HTTP content to a stream as an asynchronous operation.</summary> + <returns>Returns <see cref="T:System.Threading.Tasks.Task" />.The task object representing the asynchronous operation.</returns> + <param name="stream">The target stream.</param> + <param name="context">Information about the transport (channel binding token, for example). This parameter may be null.</param> + </member> + <member name="M:System.Net.Http.StreamContent.TryComputeLength(System.Int64@)"> + <summary>Determines whether the stream content has a valid length in bytes.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="length" /> is a valid length; otherwise, false.</returns> + <param name="length">The length in bytes of the stream content.</param> + </member> + <member name="T:System.Net.Http.StringContent"> + <summary>Provides HTTP content based on a string.</summary> + </member> + <member name="M:System.Net.Http.StringContent.#ctor(System.String)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.StringContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.StringContent" />.</param> + </member> + <member name="M:System.Net.Http.StringContent.#ctor(System.String,System.Text.Encoding)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.StringContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.StringContent" />.</param> + <param name="encoding">The encoding to use for the content.</param> + </member> + <member name="M:System.Net.Http.StringContent.#ctor(System.String,System.Text.Encoding,System.String)"> + <summary>Creates a new instance of the <see cref="T:System.Net.Http.StringContent" /> class.</summary> + <param name="content">The content used to initialize the <see cref="T:System.Net.Http.StringContent" />.</param> + <param name="encoding">The encoding to use for the content.</param> + <param name="mediaType">The media type to use for the content.</param> + </member> + <member name="T:System.Net.Http.Headers.AuthenticationHeaderValue"> + <summary>Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values.</summary> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> class.</summary> + <param name="scheme">The scheme to use for authorization.</param> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.#ctor(System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> class.</summary> + <param name="scheme">The scheme to use for authorization.</param> + <param name="parameter">The credentials containing the authentication information of the user agent for the resource being requested.</param> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object. </param> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.AuthenticationHeaderValue.Parameter"> + <summary>Gets the credentials containing the authentication information of the user agent for the resource being requested.</summary> + <returns>Returns <see cref="T:System.String" />.The credentials containing the authentication information.</returns> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" />.An <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> instance.</returns> + <param name="input">A string that represents authentication header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid authentication header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.AuthenticationHeaderValue.Scheme"> + <summary>Gets the scheme to use for authorization.</summary> + <returns>Returns <see cref="T:System.String" />.The scheme to use for authorization.</returns> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.AuthenticationHeaderValue.TryParse(System.String,System.Net.Http.Headers.AuthenticationHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.CacheControlHeaderValue"> + <summary>Represents the value of the Cache-Control header.</summary> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.Extensions"> + <summary>Cache-extension tokens, each with an optional assigned value.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.A collection of cache-extension tokens each with an optional assigned value.</returns> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.GetHashCode"> + <summary>Serves as a hash function for a <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.MaxAge"> + <summary>The maximum age, specified in seconds, that the HTTP client is willing to accept a response. </summary> + <returns>Returns <see cref="T:System.TimeSpan" />.The time in seconds. </returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.MaxStale"> + <summary>Whether an HTTP client is willing to accept a response that has exceeded its expiration time.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the HTTP client is willing to accept a response that has exceed the expiration time; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.MaxStaleLimit"> + <summary>The maximum time, in seconds, an HTTP client is willing to accept a response that has exceeded its expiration time.</summary> + <returns>Returns <see cref="T:System.TimeSpan" />.The time in seconds.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.MinFresh"> + <summary>The freshness lifetime, in seconds, that an HTTP client is willing to accept a response.</summary> + <returns>Returns <see cref="T:System.TimeSpan" />.The time in seconds.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.MustRevalidate"> + <summary>Whether the origin server require revalidation of a cache entry on any subsequent use when the cache entry becomes stale.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the origin server requires revalidation of a cache entry on any subsequent use when the entry becomes stale; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.NoCache"> + <summary>Whether an HTTP client is willing to accept a cached response.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the HTTP client is willing to accept a cached response; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.NoCacheHeaders"> + <summary>A collection of fieldnames in the "no-cache" directive in a cache-control header field on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.A collection of fieldnames.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.NoStore"> + <summary>Whether a cache must not store any part of either the HTTP request mressage or any response.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if a cache must not store any part of either the HTTP request mressage or any response; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.NoTransform"> + <summary>Whether a cache or proxy must not change any aspect of the entity-body.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if a cache or proxy must not change any aspect of the entity-body; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.OnlyIfCached"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.Boolean" />.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.</returns> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" />.A <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> instance.</returns> + <param name="input">A string that represents cache-control header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid cache-control header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.Private"> + <summary>Whether all or part of the HTTP response message is intended for a single user and must not be cached by a shared cache.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the HTTP response message is intended for a single user and must not be cached by a shared cache; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.PrivateHeaders"> + <summary>A collection fieldnames in the "private" directive in a cache-control header field on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.A collection of fieldnames.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.ProxyRevalidate"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.Boolean" />.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.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.Public"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.Boolean" />.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.</returns> + </member> + <member name="P:System.Net.Http.Headers.CacheControlHeaderValue.SharedMaxAge"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.TimeSpan" />.The time in seconds.</returns> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.CacheControlHeaderValue.TryParse(System.String,System.Net.Http.Headers.CacheControlHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.ContentDispositionHeaderValue"> + <summary>Represents the value of the Content-Disposition header.</summary> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.#ctor(System.Net.Http.Headers.ContentDispositionHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> class.</summary> + <param name="source">A <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" />. </param> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> class.</summary> + <param name="dispositionType">A string that contains a <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" />.</param> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.CreationDate"> + <summary>The date at which the file was created.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The file creation date.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.DispositionType"> + <summary>The disposition type for a content body part.</summary> + <returns>Returns <see cref="T:System.String" />.The disposition type. </returns> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.FileName"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.String" />.A suggested filename.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar"> + <summary>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.</summary> + <returns>Returns <see cref="T:System.String" />.A suggested filename of the form filename*.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.ModificationDate"> + <summary>The date at which the file was last modified. </summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The file modification date.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.Name"> + <summary>The name for a content body part.</summary> + <returns>Returns <see cref="T:System.String" />.The name for the content body part.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.Parameters"> + <summary>A set of parameters included the Content-Disposition header.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.A collection of parameters. </returns> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" />.An <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> instance.</returns> + <param name="input">A string that represents content disposition header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid content disposition header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.ReadDate"> + <summary>The date the file was last read.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The last read date.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentDispositionHeaderValue.Size"> + <summary>The approximate size, in bytes, of the file. </summary> + <returns>Returns <see cref="T:System.Int64" />.The approximate size, in bytes.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentDispositionHeaderValue.TryParse(System.String,System.Net.Http.Headers.ContentDispositionHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.ContentRangeHeaderValue"> + <summary>Represents the value of the Content-Range header.</summary> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.#ctor(System.Int64)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> class.</summary> + <param name="length">The starting or ending point of the range, in bytes.</param> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.#ctor(System.Int64,System.Int64)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> class.</summary> + <param name="from">The position, in bytes, at which to start sending data.</param> + <param name="to">The position, in bytes, at which to stop sending data.</param> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.#ctor(System.Int64,System.Int64,System.Int64)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> class.</summary> + <param name="from">The position, in bytes, at which to start sending data.</param> + <param name="to">The position, in bytes, at which to stop sending data.</param> + <param name="length">The starting or ending point of the range, in bytes.</param> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified Object is equal to the current <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="P:System.Net.Http.Headers.ContentRangeHeaderValue.From"> + <summary>Gets the position at which to start sending data.</summary> + <returns>Returns <see cref="T:System.Int64" />.The position, in bytes, at which to start sending data.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentRangeHeaderValue.HasLength"> + <summary>Gets whether the Content-Range header has a length specified.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Content-Range has a length specified; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentRangeHeaderValue.HasRange"> + <summary>Gets whether the Content-Range has a range specified. </summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Content-Range has a range specified; otherwise, false.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentRangeHeaderValue.Length"> + <summary>Gets the length of the full entity-body.</summary> + <returns>Returns <see cref="T:System.Int64" />.The length of the full entity-body.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" />.An <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> instance.</returns> + <param name="input">A string that represents content range header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid content range header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="P:System.Net.Http.Headers.ContentRangeHeaderValue.To"> + <summary>Gets the position at which to stop sending data.</summary> + <returns>Returns <see cref="T:System.Int64" />.The position at which to stop sending data.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ContentRangeHeaderValue.TryParse(System.String,System.Net.Http.Headers.ContentRangeHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" /> version of the string.</param> + </member> + <member name="P:System.Net.Http.Headers.ContentRangeHeaderValue.Unit"> + <summary>The range units used.</summary> + <returns>Returns <see cref="T:System.String" />.A <see cref="T:System.String" /> that contains range units. </returns> + </member> + <member name="T:System.Net.Http.Headers.EntityTagHeaderValue"> + <summary>Represents an entity-tag header value.</summary> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> class.</summary> + <param name="tag">A string that contains an <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" />.</param> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.#ctor(System.String,System.Boolean)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> class.</summary> + <param name="tag">A string that contains an <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" />.</param> + <param name="isWeak">A value that indicates if this entity-tag header is a weak validator. If the entity-tag header is weak validator, then <paramref name="isWeak" /> should be set to true. If the entity-tag header is a strong validator, then <paramref name="isWeak" /> should be set to false.</param> + </member> + <member name="P:System.Net.Http.Headers.EntityTagHeaderValue.Any"> + <summary>Gets the entity-tag header value.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.EntityTagHeaderValue.IsWeak"> + <summary>Gets whether the entity-tag is prefaced by a weakness indicator.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the entity-tag is prefaced by a weakness indicator; otherwise, false.</returns> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" />.An <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> instance.</returns> + <param name="input">A string that represents entity tag header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid entity tag header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="P:System.Net.Http.Headers.EntityTagHeaderValue.Tag"> + <summary>Gets the opaque quoted string. </summary> + <returns>Returns <see cref="T:System.String" />.An opaque quoted string.</returns> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.EntityTagHeaderValue.TryParse(System.String,System.Net.Http.Headers.EntityTagHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.HttpContentHeaders"> + <summary>Represents the collection of Content Headers as defined in RFC 2616.</summary> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.Allow"> + <summary>Gets the value of the Allow content header on an HTTP response. </summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.The value of the Allow header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentDisposition"> + <summary>Gets the value of the Content-Disposition content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" />.The value of the Content-Disposition content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentEncoding"> + <summary>Gets the value of the Content-Encoding content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.The value of the Content-Encoding content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentLanguage"> + <summary>Gets the value of the Content-Language content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.The value of the Content-Language content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentLength"> + <summary>Gets or sets the value of the Content-Length content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Int64" />.The value of the Content-Length content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentLocation"> + <summary>Gets or sets the value of the Content-Location content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Uri" />.The value of the Content-Location content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentMD5"> + <summary>Gets or sets the value of the Content-MD5 content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Byte" />.The value of the Content-MD5 content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentRange"> + <summary>Gets or sets the value of the Content-Range content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ContentRangeHeaderValue" />.The value of the Content-Range content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.ContentType"> + <summary>Gets or sets the value of the Content-Type content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" />.The value of the Content-Type content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.Expires"> + <summary>Gets or sets the value of the Expires content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The value of the Expires content header on an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpContentHeaders.LastModified"> + <summary>Gets or sets the value of the Last-Modified content header on an HTTP response.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The value of the Last-Modified content header on an HTTP response.</returns> + </member> + <member name="T:System.Net.Http.Headers.HttpHeaders"> + <summary>A collection of headers and their values as defined in RFC 2616.</summary> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.Add(System.String,System.Collections.Generic.IEnumerable{System.String})"> + <summary>Adds the specified header and its values into the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + <param name="name">The header to add to the collection.</param> + <param name="values">A list of header values to add to the collection.</param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.Add(System.String,System.String)"> + <summary>Adds the specified header and its value into the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + <param name="name">The header to add to the collection.</param> + <param name="value">The content of the header.</param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.Clear"> + <summary>Removes all headers from the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.Contains(System.String)"> + <summary>Returns if a specific header exists in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true is the specified header exists in the collection; otherwise false.</returns> + <param name="name">The specific header.</param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.GetEnumerator"> + <summary>Returns an enumerator that can iterate through the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> instance.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.IEnumerator`1" />.An enumerator for the <see cref="T:System.Net.Http.Headers.HttpHeaders" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.GetValues(System.String)"> + <summary>Returns all header values for a specified header stored in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.IEnumerable`1" />.An array of header strings.</returns> + <param name="name">The specified header to return values for.</param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.Remove(System.String)"> + <summary>Removes the specified header from the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + <returns>Returns <see cref="T:System.Boolean" />.</returns> + <param name="name">The name of the header to remove from the collection. </param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.System#Collections#IEnumerable#GetEnumerator"> + <summary>Gets an enumerator that can iterate through a <see cref="T:System.Net.Http.Headers.HttpHeaders" />.</summary> + <returns>Returns <see cref="T:System.Collections.IEnumerator" />.An instance of an implementation of an <see cref="T:System.Collections.IEnumerator" /> that can iterate through a <see cref="T:System.Net.Http.Headers.HttpHeaders" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.HttpHeaders" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.TryAddWithoutValidation(System.String,System.Collections.Generic.IEnumerable{System.String})"> + <summary>Returns a value that indicates whether the specified header and its values were added to the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection without validating the provided information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified header <paramref name="name" /> and <paramref name="values" /> could be added to the collection; otherwise false.</returns> + <param name="name">The header to add to the collection.</param> + <param name="values">The values of the header.</param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.TryAddWithoutValidation(System.String,System.String)"> + <summary>Returns a value that indicates whether the specified header and its value were added to the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection without validating the provided information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified header <paramref name="name" /> and <paramref name="value" /> could be added to the collection; otherwise false.</returns> + <param name="name">The header to add to the collection.</param> + <param name="value">The content of the header.</param> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaders.TryGetValues(System.String,System.Collections.Generic.IEnumerable{System.String}@)"> + <summary>Return if a specified header and specified values are stored in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true is the specified header <paramref name="name" /> and values are stored in the collection; otherwise false.</returns> + <param name="name">The specified header.</param> + <param name="values">The specified header values.</param> + </member> + <member name="T:System.Net.Http.Headers.HttpHeaderValueCollection`1"> + <summary>Represents a collection of header values.</summary> + <typeparam name="T"></typeparam> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.Add(`0)"></member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.Clear"></member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.Contains(`0)"> + <returns>Returns <see cref="T:System.Boolean" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.CopyTo(`0[],System.Int32)"></member> + <member name="P:System.Net.Http.Headers.HttpHeaderValueCollection`1.Count"> + <returns>Returns <see cref="T:System.Int32" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.GetEnumerator"> + <returns>Returns <see cref="T:System.Collections.Generic.IEnumerator`1" />.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpHeaderValueCollection`1.IsReadOnly"> + <returns>Returns <see cref="T:System.Boolean" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.ParseAdd(System.String)"></member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.Remove(`0)"> + <returns>Returns <see cref="T:System.Boolean" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.System#Collections#IEnumerable#GetEnumerator"> + <returns>Returns <see cref="T:System.Collections.IEnumerator" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.ToString"> + <summary>Returns a string that represents the current XXX object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.HttpHeaderValueCollection`1.TryParseAdd(System.String)"> + <summary>Determines whether a string is valid XXX information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.</returns> + <param name="input">The string to validate.</param> + </member> + <member name="T:System.Net.Http.Headers.HttpRequestHeaders"> + <summary>Represents the collection of Request Headers as defined in RFC 2616.</summary> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Accept"> + <summary>Gets the value of the Accept header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Accept header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.AcceptCharset"> + <summary>Gets the value of the Accept-Charset header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Accept-Charset header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.AcceptEncoding"> + <summary>Gets the value of the Accept-Encoding header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Accept-Encoding header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.AcceptLanguage"> + <summary>Gets the value of the Accept-Language header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Accept-Language header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Authorization"> + <summary>Gets or sets the value of the Authorization header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" />.The value of the Authorization header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.CacheControl"> + <summary>Gets or sets the value of the Cache-Control header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" />.The value of the Cache-Control header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Connection"> + <summary>Gets the value of the Connection header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Connection header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.ConnectionClose"> + <summary>Gets or sets a value that indicates if the Connection header for an HTTP request contains Close.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Connection header contains Close, otherwise false.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Date"> + <summary>Gets or sets the value of the Date header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The value of the Date header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Expect"> + <summary>Gets the value of the Expect header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Expect header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.ExpectContinue"> + <summary>Gets or sets a value that indicates if the Expect header for an HTTP request contains Continue.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Expect header contains Continue, otherwise false.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.From"> + <summary>Gets or sets the value of the From header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.String" />.The value of the From header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Host"> + <summary>Gets or sets the value of the Host header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.String" />.The value of the Host header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.IfMatch"> + <summary>Gets the value of the If-Match header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the If-Match header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.IfModifiedSince"> + <summary>Gets or sets the value of the If-Modified-Since header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The value of the If-Modified-Since header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.IfNoneMatch"> + <summary>Gets the value of the If-None-Match header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.Gets the value of the If-None-Match header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.IfRange"> + <summary>Gets or sets the value of the If-Range header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" />.The value of the If-Range header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.IfUnmodifiedSince"> + <summary>Gets or sets the value of the If-Unmodified-Since header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The value of the If-Unmodified-Since header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.MaxForwards"> + <summary>Gets or sets the value of the Max-Forwards header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Int32" />.The value of the Max-Forwards header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Pragma"> + <summary>Gets the value of the Pragma header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Pragma header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.ProxyAuthorization"> + <summary>Gets or sets the value of the Proxy-Authorization header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" />.The value of the Proxy-Authorization header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Range"> + <summary>Gets or sets the value of the Range header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.RangeHeaderValue" />.The value of the Range header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Referrer"> + <summary>Gets or sets the value of the Referer header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Uri" />.The value of the Referer header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.TE"> + <summary>Gets the value of the TE header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the TE header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Trailer"> + <summary>Gets the value of the Trailer header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Trailer header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.TransferEncoding"> + <summary>Gets the value of the Transfer-Encoding header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Transfer-Encoding header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.TransferEncodingChunked"> + <summary>Gets or sets a value that indicates if the Transfer-Encoding header for an HTTP request contains chunked.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Transfer-Encoding header contains chunked, otherwise false.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Upgrade"> + <summary>Gets the value of the Upgrade header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Upgrade header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.UserAgent"> + <summary>Gets the value of the User-Agent header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the User-Agent header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Via"> + <summary>Gets the value of the Via header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Via header for an HTTP request.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpRequestHeaders.Warning"> + <summary>Gets the value of the Warning header for an HTTP request.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Warning header for an HTTP request.</returns> + </member> + <member name="T:System.Net.Http.Headers.HttpResponseHeaders"> + <summary>Represents the collection of Response Headers as defined in RFC 2616.</summary> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.AcceptRanges"> + <summary>Gets the value of the Accept-Ranges header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Accept-Ranges header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Age"> + <summary>Gets or sets the value of the Age header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.TimeSpan" />.The value of the Age header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.CacheControl"> + <summary>Gets or sets the value of the Cache-Control header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.CacheControlHeaderValue" />.The value of the Cache-Control header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Connection"> + <summary>Gets the value of the Connection header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Connection header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.ConnectionClose"> + <summary>Gets or sets a value that indicates if the Connection header for an HTTP response contains Close.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Connection header contains Close, otherwise false.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Date"> + <summary>Gets or sets the value of the Date header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The value of the Date header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.ETag"> + <summary>Gets or sets the value of the ETag header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" />.The value of the ETag header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Location"> + <summary>Gets or sets the value of the Location header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Uri" />.The value of the Location header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Pragma"> + <summary>Gets the value of the Pragma header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Pragma header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.ProxyAuthenticate"> + <summary>Gets the value of the Proxy-Authenticate header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Proxy-Authenticate header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.RetryAfter"> + <summary>Gets or sets the value of the Retry-After header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" />.The value of the Retry-After header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Server"> + <summary>Gets the value of the Server header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Server header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Trailer"> + <summary>Gets the value of the Trailer header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Trailer header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.TransferEncoding"> + <summary>Gets the value of the Transfer-Encoding header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Transfer-Encoding header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.TransferEncodingChunked"> + <summary>Gets or sets a value that indicates if the Transfer-Encoding header for an HTTP response contains chunked.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the Transfer-Encoding header contains chunked, otherwise false.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Upgrade"> + <summary>Gets the value of the Upgrade header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Upgrade header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Vary"> + <summary>Gets the value of the Vary header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Vary header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Via"> + <summary>Gets the value of the Via header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Via header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.Warning"> + <summary>Gets the value of the Warning header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the Warning header for an HTTP response.</returns> + </member> + <member name="P:System.Net.Http.Headers.HttpResponseHeaders.WwwAuthenticate"> + <summary>Gets the value of the WWW-Authenticate header for an HTTP response.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.HttpHeaderValueCollection`1" />.The value of the WWW-Authenticate header for an HTTP response.</returns> + </member> + <member name="T:System.Net.Http.Headers.MediaTypeHeaderValue"> + <summary>Represents a media-type as defined in the RFC 2616.</summary> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.#ctor(System.Net.Http.Headers.MediaTypeHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> class.</summary> + </member> + <member name="P:System.Net.Http.Headers.MediaTypeHeaderValue.CharSet"> + <summary>Gets or sets the character set.</summary> + <returns>Returns <see cref="T:System.String" />.The character set.</returns> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.MediaTypeHeaderValue.MediaType"> + <summary>Gets or sets the media-type header value.</summary> + <returns>Returns <see cref="T:System.String" />.The media-type header value.</returns> + </member> + <member name="P:System.Net.Http.Headers.MediaTypeHeaderValue.Parameters"> + <summary>Gets or sets the media-type header value parameters.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.The media-type header value parameters.</returns> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" />.An <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> instance.</returns> + <param name="input">A string that represents media type header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid media type header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeHeaderValue.TryParse(System.String,System.Net.Http.Headers.MediaTypeHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.MediaTypeHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue"> + <summary>Represents a content-type header value with an additional quality.</summary> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.#ctor(System.String,System.Double)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" />.An <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> instance.</returns> + <param name="input">A string that represents media type with quality header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid media type with quality header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Quality"> + <returns>Returns <see cref="T:System.Double" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.TryParse(System.String,System.Net.Http.Headers.MediaTypeWithQualityHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.MediaTypeWithQualityHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.NameValueHeaderValue"> + <summary>Represents a name/value pair.</summary> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.#ctor(System.Net.Http.Headers.NameValueHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> class.</summary> + <param name="name">The header name.</param> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.#ctor(System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> class.</summary> + <param name="name">The header name.</param> + <param name="value">The header value.</param> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.NameValueHeaderValue.Name"> + <summary>Gets the header name.</summary> + <returns>Returns <see cref="T:System.String" />.The header name.</returns> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" />.An <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> instance.</returns> + <param name="input">A string that represents name value header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid name value header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.NameValueHeaderValue.TryParse(System.String,System.Net.Http.Headers.NameValueHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> version of the string.</param> + </member> + <member name="P:System.Net.Http.Headers.NameValueHeaderValue.Value"> + <summary>Gets the header value.</summary> + <returns>Returns <see cref="T:System.String" />.The header value.</returns> + </member> + <member name="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue"> + <summary>Represents a name/value pair with parameters.</summary> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.#ctor(System.Net.Http.Headers.NameValueWithParametersHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.#ctor(System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.NameValueWithParametersHeaderValue.Parameters"> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" />.An <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> instance.</returns> + <param name="input">A string that represents name value with parameter header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid name value with parameter header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.NameValueWithParametersHeaderValue.TryParse(System.String,System.Net.Http.Headers.NameValueWithParametersHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.NameValueWithParametersHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.ProductHeaderValue"> + <summary>Represents a product token in header value.</summary> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.#ctor(System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.ProductHeaderValue.Name"> + <summary>Gets the name of the product token.</summary> + <returns>Returns <see cref="T:System.String" />.The name of the product token.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ProductHeaderValue" />.An <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> instance.</returns> + <param name="input">A string that represents product header value information.</param> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductHeaderValue.TryParse(System.String,System.Net.Http.Headers.ProductHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> version of the string.</param> + </member> + <member name="P:System.Net.Http.Headers.ProductHeaderValue.Version"> + <summary>Gets the version of the product token.</summary> + <returns>Returns <see cref="T:System.String" />.The version of the product token. </returns> + </member> + <member name="T:System.Net.Http.Headers.ProductInfoHeaderValue"> + <summary>Represents a value which can either be a product or a comment.</summary> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.#ctor(System.Net.Http.Headers.ProductHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.#ctor(System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class.</summary> + </member> + <member name="P:System.Net.Http.Headers.ProductInfoHeaderValue.Comment"> + <returns>Returns <see cref="T:System.String" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" />.An <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> instance.</returns> + <param name="input">A string that represents product info header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid product info header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.ProductInfoHeaderValue.Product"> + <returns>Returns <see cref="T:System.Net.Http.Headers.ProductHeaderValue" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ProductInfoHeaderValue.TryParse(System.String,System.Net.Http.Headers.ProductInfoHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.RangeConditionHeaderValue"> + <summary>Represents a header value which can either be a date/time or an entity-tag value.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.#ctor(System.DateTimeOffset)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.#ctor(System.Net.Http.Headers.EntityTagHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> class.</summary> + </member> + <member name="P:System.Net.Http.Headers.RangeConditionHeaderValue.Date"> + <returns>Returns <see cref="T:System.DateTimeOffset" />.</returns> + </member> + <member name="P:System.Net.Http.Headers.RangeConditionHeaderValue.EntityTag"> + <returns>Returns <see cref="T:System.Net.Http.Headers.EntityTagHeaderValue" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" />.An <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> instance.</returns> + <param name="input">A string that represents range condition header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid range Condition header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeConditionHeaderValue.TryParse(System.String,System.Net.Http.Headers.RangeConditionHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.RangeHeaderValue"> + <summary>Represents the value of the Range header.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.#ctor"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.#ctor(System.Nullable{System.Int64},System.Nullable{System.Int64})"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.RangeHeaderValue" />.An <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> instance.</returns> + <param name="input">A string that represents range header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid range header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.RangeHeaderValue.Ranges"> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeHeaderValue.TryParse(System.String,System.Net.Http.Headers.RangeHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> information; otherwise, false.</returns> + <param name="input">he string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> version of the string.</param> + </member> + <member name="P:System.Net.Http.Headers.RangeHeaderValue.Unit"> + <returns>Returns <see cref="T:System.String" />.</returns> + </member> + <member name="T:System.Net.Http.Headers.RangeItemHeaderValue"> + <summary>Represents a byte-range header value.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeItemHeaderValue.#ctor(System.Nullable{System.Int64},System.Nullable{System.Int64})"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.RangeItemHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="P:System.Net.Http.Headers.RangeItemHeaderValue.From"> + <returns>Returns <see cref="T:System.Int64" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeItemHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeItemHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="P:System.Net.Http.Headers.RangeItemHeaderValue.To"> + <returns>Returns <see cref="T:System.Int64" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.RangeItemHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="T:System.Net.Http.Headers.RetryConditionHeaderValue"> + <summary>Represents a header value which can either be a date/time or a timespan value.</summary> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.#ctor(System.DateTimeOffset)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.#ctor(System.TimeSpan)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> class.</summary> + </member> + <member name="P:System.Net.Http.Headers.RetryConditionHeaderValue.Date"> + <returns>Returns <see cref="T:System.DateTimeOffset" />.</returns> + </member> + <member name="P:System.Net.Http.Headers.RetryConditionHeaderValue.Delta"> + <returns>Returns <see cref="T:System.TimeSpan" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" />.An <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> instance.</returns> + <param name="input">A string that represents retry condition header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid retry condition header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.RetryConditionHeaderValue.TryParse(System.String,System.Net.Http.Headers.RetryConditionHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.StringWithQualityHeaderValue"> + <summary>Represents a string header value with an optional quality.</summary> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.#ctor(System.String,System.Double)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified Object is equal to the current <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" />.An <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> instance.</returns> + <param name="input">A string that represents quality header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid string with quality header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.StringWithQualityHeaderValue.Quality"> + <returns>Returns <see cref="T:System.Double" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.StringWithQualityHeaderValue.TryParse(System.String,System.Net.Http.Headers.StringWithQualityHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.StringWithQualityHeaderValue" /> version of the string.</param> + </member> + <member name="P:System.Net.Http.Headers.StringWithQualityHeaderValue.Value"> + <returns>Returns <see cref="T:System.String" />.</returns> + </member> + <member name="T:System.Net.Http.Headers.TransferCodingHeaderValue"> + <summary>Represents a transfer-coding header value.</summary> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.#ctor(System.Net.Http.Headers.TransferCodingHeaderValue)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified Object is equal to the current <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="P:System.Net.Http.Headers.TransferCodingHeaderValue.Parameters"> + <summary>Gets the transfer-coding parameters.</summary> + <returns>Returns <see cref="T:System.Collections.Generic.ICollection`1" />.The transfer-coding parameters.</returns> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" />.An <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> instance.</returns> + <param name="input">A string that represents transfer-coding header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid transfer-coding header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingHeaderValue.TryParse(System.String,System.Net.Http.Headers.TransferCodingHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.TransferCodingHeaderValue" /> version of the string.</param> + </member> + <member name="P:System.Net.Http.Headers.TransferCodingHeaderValue.Value"> + <summary>Gets the transfer-coding value.</summary> + <returns>Returns <see cref="T:System.String" />.The transfer-coding value.</returns> + </member> + <member name="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue"> + <summary>Represents a transfer-coding header value with optional quality.</summary> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.#ctor(System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.#ctor(System.String,System.Double)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> class.</summary> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" />.An <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> instance.</returns> + <param name="input">A string that represents transfer-coding value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid transfer-coding with quality header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.Quality"> + <returns>Returns <see cref="T:System.Double" />.</returns> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.TryParse(System.String,System.Net.Http.Headers.TransferCodingWithQualityHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.TransferCodingWithQualityHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.ViaHeaderValue"> + <summary>Represents the value of a Via header.</summary> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.#ctor(System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> class.</summary> + <param name="protocolVersion">The protocol version of the received protocol.</param> + <param name="receivedBy">The host and port that the request or response was received by.</param> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.#ctor(System.String,System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> class.</summary> + <param name="protocolVersion">The protocol version of the received protocol.</param> + <param name="receivedBy">The host and port that the request or response was received by.</param> + <param name="protocolName">The protocol name of the received protocol.</param> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.#ctor(System.String,System.String,System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> class.</summary> + <param name="protocolVersion">The protocol version of the received protocol.</param> + <param name="receivedBy">The host and port that the request or response was received by.</param> + <param name="protocolName">The protocol name of the received protocol.</param> + <param name="comment">The comment field used to identify the software of the recipient proxy or gateway.</param> + </member> + <member name="P:System.Net.Http.Headers.ViaHeaderValue.Comment"> + <summary>Gets the comment field used to identify the software of the recipient proxy or gateway.</summary> + <returns>Returns <see cref="T:System.String" />.The comment field used to identify the software of the recipient proxy or gateway.</returns> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.ViaHeaderValue" />object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.Returns a hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Net.Http.Headers.ViaHeaderValue" />.An <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> instance.</returns> + <param name="input">A string that represents via header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid via header value information.</exception> + </member> + <member name="P:System.Net.Http.Headers.ViaHeaderValue.ProtocolName"> + <summary>Gets the protocol name of the received protocol.</summary> + <returns>Returns <see cref="T:System.String" />.The protocol name.</returns> + </member> + <member name="P:System.Net.Http.Headers.ViaHeaderValue.ProtocolVersion"> + <summary>Gets the protocol version of the received protocol.</summary> + <returns>Returns <see cref="T:System.String" />.The protocol version.</returns> + </member> + <member name="P:System.Net.Http.Headers.ViaHeaderValue.ReceivedBy"> + <summary>Gets the host and port that the request or response was received by.</summary> + <returns>Returns <see cref="T:System.String" />.The host and port that the request or response was received by.</returns> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.A copy of the current instance.</returns> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.ViaHeaderValue.TryParse(System.String,System.Net.Http.Headers.ViaHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.ViaHeaderValue" /> version of the string.</param> + </member> + <member name="T:System.Net.Http.Headers.WarningHeaderValue"> + <summary>Represents a warning value used by the Warning header.</summary> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.#ctor(System.Int32,System.String,System.String)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> class.</summary> + <param name="code">The specific warning code.</param> + <param name="agent">The host that attached the warning.</param> + <param name="text">A quoted-string containing the warning text.</param> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.#ctor(System.Int32,System.String,System.String,System.DateTimeOffset)"> + <summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> class.</summary> + <param name="code">The specific warning code.</param> + <param name="agent">The host that attached the warning.</param> + <param name="text">A quoted-string containing the warning text.</param> + <param name="date">The date/time stamp of the warning.</param> + </member> + <member name="P:System.Net.Http.Headers.WarningHeaderValue.Agent"> + <summary>Gets the host that attached the warning.</summary> + <returns>Returns <see cref="T:System.String" />.The host that attached the warning.</returns> + </member> + <member name="P:System.Net.Http.Headers.WarningHeaderValue.Code"> + <summary>Gets the specific warning code.</summary> + <returns>Returns <see cref="T:System.Int32" />.The specific warning code.</returns> + </member> + <member name="P:System.Net.Http.Headers.WarningHeaderValue.Date"> + <summary>Gets the date/time stamp of the warning.</summary> + <returns>Returns <see cref="T:System.DateTimeOffset" />.The date/time stamp of the warning.</returns> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.Equals(System.Object)"> + <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</returns> + <param name="obj">The object to compare with the current object.</param> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.GetHashCode"> + <summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.Int32" />.A hash code for the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.Parse(System.String)"> + <summary>Converts a string to an <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> instance.</summary> + <returns>Returns an <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> instance.</returns> + <param name="input">A string that represents authentication header value information.</param> + <exception cref="T:System.ArgumentNullException"> + <paramref name="input" /> is a null reference.</exception> + <exception cref="T:System.FormatException"> + <paramref name="input" /> is not valid authentication header value information.</exception> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.System#ICloneable#Clone"> + <summary>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> instance.</summary> + <returns>Returns <see cref="T:System.Object" />.Returns a copy of the current instance.</returns> + </member> + <member name="P:System.Net.Http.Headers.WarningHeaderValue.Text"> + <summary>Gets a quoted-string containing the warning text.</summary> + <returns>Returns <see cref="T:System.String" />.A quoted-string containing the warning text.</returns> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.ToString"> + <summary>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> object.</summary> + <returns>Returns <see cref="T:System.String" />.A string that represents the current object.</returns> + </member> + <member name="M:System.Net.Http.Headers.WarningHeaderValue.TryParse(System.String,System.Net.Http.Headers.WarningHeaderValue@)"> + <summary>Determines whether a string is valid <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> information.</summary> + <returns>Returns <see cref="T:System.Boolean" />.true if <paramref name="input" /> is valid <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> information; otherwise, false.</returns> + <param name="input">The string to validate.</param> + <param name="parsedValue">The <see cref="T:System.Net.Http.Headers.WarningHeaderValue" /> version of the string.</param> + </member> + </members> +</doc>
\ No newline at end of file diff --git a/samples/OAuthClient/AzureAD.aspx b/samples/OAuthClient/AzureAD.aspx index 9311efc..d7da268 100644 --- a/samples/OAuthClient/AzureAD.aspx +++ b/samples/OAuthClient/AzureAD.aspx @@ -1,17 +1,17 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AzureAD.aspx.cs" Inherits="OAuthClient.AzureAD" Async="true"%> +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AzureAD.aspx.cs" Inherits="OAuthClient.AzureAD" Async="true" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> - <title></title> + <title></title> </head> <body> - <form id="form1" runat="server"> - <div> - Welcome, + <form id="form1" runat="server"> + <div> + Welcome, <asp:Label Text="[name]" ID="nameLabel" runat="server" /> - </div> - </form> + </div> + </form> </body> </html> diff --git a/samples/OAuthClient/AzureAD.aspx.cs b/samples/OAuthClient/AzureAD.aspx.cs index 4b601fd..e392725 100644 --- a/samples/OAuthClient/AzureAD.aspx.cs +++ b/samples/OAuthClient/AzureAD.aspx.cs @@ -1,5 +1,4 @@ -namespace OAuthClient -{ +namespace OAuthClient { using System; using System.Configuration; using System.Net; @@ -11,23 +10,18 @@ using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OAuth2; - public partial class AzureAD : System.Web.UI.Page - { - private static readonly AzureADClient client = new AzureADClient - { + public partial class AzureAD : System.Web.UI.Page { + private static readonly AzureADClient client = new AzureADClient { ClientIdentifier = ConfigurationManager.AppSettings["AzureADAppID"], ClientCredentialApplicator = ClientCredentialApplicator.PostParameter(ConfigurationManager.AppSettings["AzureADAppSecret"]), }; - protected void Page_Load(object sender, EventArgs e) - { + + protected void Page_Load(object sender, EventArgs e) { IAuthorizationState authorization = client.ProcessUserAuthorization(); - if (authorization == null) - { + if (authorization == null) { // Kick off authorization request client.RequestUserAuthorization(); - } - else - { + } else { string token = authorization.AccessToken; AzureADClaims claimsAD = client.ParseAccessToken(token); @@ -35,10 +29,8 @@ var request = WebRequest.Create("https://graph.windows.net/" + claimsAD.Tid + "/users/" + claimsAD.Oid + "?api-version=0.9"); request.Headers = new WebHeaderCollection(); request.Headers.Add("authorization", token); - using (var response = request.GetResponse()) - { - using (var responseStream = response.GetResponseStream()) - { + using (var response = request.GetResponse()) { + using (var responseStream = response.GetResponseStream()) { var serializer = new DataContractJsonSerializer(typeof(AzureADGraph)); AzureADGraph graphData = (AzureADGraph)serializer.ReadObject(responseStream); this.nameLabel.Text = HttpUtility.HtmlEncode(graphData.DisplayName); diff --git a/samples/OAuthClient/Default.aspx b/samples/OAuthClient/Default.aspx index 423bbe5..79d0acf 100644 --- a/samples/OAuthClient/Default.aspx +++ b/samples/OAuthClient/Default.aspx @@ -11,7 +11,7 @@ <li><a href="SignInWithTwitter.aspx">Sign In With Twitter</a></li> <li><a href="Facebook.aspx">Sign in with Facebook</a></li> <li><a href="WindowsLive.aspx">Sign in with Windows Live</a></li> - <li><a href="AzureAD.aspx">Sign in with Azure Active Directory\Office 365</a></li> + <li><a href="AzureAD.aspx">Sign in with Azure Active Directory\Office 365</a></li> <li><a href="SampleWcf2.aspx">Interop with Authorization Server sample (Authorization code grant) and Resource Server using WCF w/ OAuth 2.0 </a></li> <li><a href="SampleWcf2Javascript.html">Interop with Authorization Server sample (implicit grant) and Resource Server using WCF w/ OAuth 2.0 </a></li> </ul> diff --git a/samples/OAuthClient/Web.config b/samples/OAuthClient/Web.config index 4311d72..9463ced 100644 --- a/samples/OAuthClient/Web.config +++ b/samples/OAuthClient/Web.config @@ -55,9 +55,9 @@ <!-- Windows Live sign-up: http://go.microsoft.com/fwlink/p/?LinkId=193157 --> <add key="windowsLiveAppID" value="000000004408E558" /> <add key="windowsLiveAppSecret" value="od8NVdanEIWqmlKu9hOepBE3AfUu4jCw" /> - <!-- AzureAD sign-up: http://manage.windowsazure.com --> - <add key="AzureADAppID" value="64e0b14b-43ae-497c-b1a8-e8a841a341fd" /> - <add key="AzureADAppSecret" value="MySecretPassword" /> + <!-- AzureAD sign-up: http://manage.windowsazure.com --> + <add key="AzureADAppID" value="64e0b14b-43ae-497c-b1a8-e8a841a341fd" /> + <add key="AzureADAppSecret" value="MySecretPassword" /> </appSettings> <connectionStrings/> diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClaims.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClaims.cs index eda649c..deb396f 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClaims.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClaims.cs @@ -4,8 +4,7 @@ // </copyright> //----------------------------------------------------------------------- -namespace DotNetOpenAuth.AspNet.Clients -{ +namespace DotNetOpenAuth.AspNet.Clients { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; @@ -20,8 +19,7 @@ namespace DotNetOpenAuth.AspNet.Clients [DataContract] [EditorBrowsable(EditorBrowsableState.Never)] [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "AzureAD", Justification = "Brand name")] - public class AzureADClaims - { + public class AzureADClaims { #region Public Properties /// <summary> diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClient.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClient.cs index 578975c..6ff93e7 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClient.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADClient.cs @@ -105,8 +105,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// The app secret. /// </param> public AzureADClient(string appId, string appSecret) - : this(appId, appSecret, GraphResource) - { + : this(appId, appSecret, GraphResource) { } /// <summary> @@ -122,8 +121,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// The resource of oauth request. /// </param> public AzureADClient(string appId, string appSecret, string resource) - : base("azuread") - { + : base("azuread") { Requires.NotNullOrEmpty(appId, "appId"); Requires.NotNullOrEmpty(appSecret, "appSecret"); Requires.NotNullOrEmpty(resource, "resource"); @@ -161,21 +159,17 @@ namespace DotNetOpenAuth.AspNet.Clients { /// The access token. /// </param> /// <returns>A dictionary of profile data.</returns> - protected override IDictionary<string, string> GetUserData(string accessToken) - { + protected override IDictionary<string, string> GetUserData(string accessToken) { IDictionary<string, string> userData = new Dictionary<string, string>(); - try - { + try { AzureADGraph graphData; WebRequest request = WebRequest.Create( GraphEndpoint + this.tenantid + "/users/" + this.userid + "?api-version=0.9"); request.Headers = new WebHeaderCollection(); request.Headers.Add("authorization", accessToken); - using (var response = request.GetResponse()) - { - using (var responseStream = response.GetResponseStream()) - { + using (var response = request.GetResponse()) { + using (var responseStream = response.GetResponseStream()) { graphData = JsonHelper.Deserialize<AzureADGraph>(responseStream); } } @@ -186,9 +180,7 @@ namespace DotNetOpenAuth.AspNet.Clients { userData.AddItemIfNotEmpty("name", graphData.DisplayName); return userData; - } - catch (Exception e) - { + } catch (Exception e) { System.Diagnostics.Debug.WriteLine(e.ToStringDescriptive()); return userData; } @@ -206,10 +198,8 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <returns> /// The access token. /// </returns> - protected override string QueryAccessToken(Uri returnUrl, string authorizationCode) - { - try - { + protected override string QueryAccessToken(Uri returnUrl, string authorizationCode) { + try { var entity = MessagingUtilities.CreateQueryString( new Dictionary<string, string> { @@ -225,25 +215,20 @@ namespace DotNetOpenAuth.AspNet.Clients { tokenRequest.ContentLength = entity.Length; tokenRequest.Method = "POST"; - using (Stream requestStream = tokenRequest.GetRequestStream()) - { + using (Stream requestStream = tokenRequest.GetRequestStream()) { var writer = new StreamWriter(requestStream); writer.Write(entity); writer.Flush(); } HttpWebResponse tokenResponse = (HttpWebResponse)tokenRequest.GetResponse(); - if (tokenResponse.StatusCode == HttpStatusCode.OK) - { - using (Stream responseStream = tokenResponse.GetResponseStream()) - { + if (tokenResponse.StatusCode == HttpStatusCode.OK) { + using (Stream responseStream = tokenResponse.GetResponseStream()) { var tokenData = JsonHelper.Deserialize<OAuth2AccessTokenData>(responseStream); - if (tokenData != null) - { + if (tokenData != null) { AzureADClaims claimsAD; claimsAD = this.ParseAccessToken(tokenData.AccessToken, true); - if (claimsAD != null) - { + if (claimsAD != null) { this.tenantid = claimsAD.Tid; this.userid = claimsAD.Oid; return tokenData.AccessToken; @@ -254,9 +239,7 @@ namespace DotNetOpenAuth.AspNet.Clients { } return null; - } - catch (Exception e) - { + } catch (Exception e) { System.Diagnostics.Debug.WriteLine(e.ToStringDescriptive()); return null; } @@ -271,8 +254,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <returns> /// Decoded string as string using UTF8 encoding. /// </returns> - private static string Base64URLdecode(string str) - { + private static string Base64URLdecode(string str) { System.Text.UTF8Encoding encoder = new System.Text.UTF8Encoding(); return encoder.GetString(Base64URLdecodebyte(str)); } @@ -286,8 +268,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <returns> /// Decoded string as bytes. /// </returns> - private static byte[] Base64URLdecodebyte(string str) - { + private static byte[] Base64URLdecodebyte(string str) { // First replace chars and then pad per spec str = str.Replace('-', '+').Replace('_', '/'); str = str.PadRight(str.Length + ((4 - (str.Length % 4)) % 4), '='); @@ -309,53 +290,42 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <returns> /// True if same, false otherwise. /// </returns> - private static bool ValidateSig(byte[] uval, byte[] sval, byte[] certthumb) - { - try - { + private static bool ValidateSig(byte[] uval, byte[] sval, byte[] certthumb) { + try { bool ret = false; X509Certificate2[] certx509 = GetEncodingCert(); string certthumbhex = string.Empty; // Get the hexadecimail representation of the certthumbprint - for (int i = 0; i < certthumb.Length; i++) - { + for (int i = 0; i < certthumb.Length; i++) { certthumbhex += certthumb[i].ToString("X2"); } - for (int c = 0; c < certx509.Length; c++) - { + for (int c = 0; c < certx509.Length; c++) { // Skip any cert that does not have the same thumbprint as token - if (certx509[c].Thumbprint.ToLower() != certthumbhex.ToLower()) - { + if (certx509[c].Thumbprint.ToLower() != certthumbhex.ToLower()) { continue; } X509SecurityToken tok = new X509SecurityToken(certx509[c]); - if (tok == null) - { + if (tok == null) { return false; } - for (int i = 0; i < tok.SecurityKeys.Count; i++) - { + for (int i = 0; i < tok.SecurityKeys.Count; i++) { X509AsymmetricSecurityKey key = tok.SecurityKeys[i] as X509AsymmetricSecurityKey; RSACryptoServiceProvider rsa = key.GetAsymmetricAlgorithm(SecurityAlgorithms.RsaSha256Signature, false) as RSACryptoServiceProvider; - if (rsa == null) - { + if (rsa == null) { continue; } ret = rsa.VerifyData(uval, hash, sval); - if (ret == true) - { + if (ret == true) { return ret; } } } return ret; - } - catch (CryptographicException e) - { + } catch (CryptographicException e) { Console.WriteLine(e.ToStringDescriptive()); return false; } @@ -367,44 +337,34 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <returns> /// The encoding certificate. /// </returns> - private static X509Certificate2[] GetEncodingCert() - { - if (encodingcert != null) - { + private static X509Certificate2[] GetEncodingCert() { + if (encodingcert != null) { return encodingcert; } - try - { + try { // Lock for exclusive access - lock (typeof(AzureADClient)) - { + lock (typeof(AzureADClient)) { XmlDocument doc = new XmlDocument(); WebRequest request = WebRequest.Create(MetaDataEndpoint); - using (WebResponse response = request.GetResponse()) - { - using (Stream responseStream = response.GetResponseStream()) - { + using (WebResponse response = request.GetResponse()) { + using (Stream responseStream = response.GetResponseStream()) { doc.Load(responseStream); XmlNodeList list = doc.GetElementsByTagName("X509Certificate"); encodingcert = new X509Certificate2[list.Count]; - for (int i = 0; i < list.Count; i++) - { + for (int i = 0; i < list.Count; i++) { byte[] todecode_byte = Convert.FromBase64String(list[i].InnerText); encodingcert[i] = new X509Certificate2(todecode_byte); } - if (hash == null) - { + if (hash == null) { hash = SHA256.Create(); } } } } return encodingcert; - } - catch (Exception e) - { + } catch (Exception e) { System.Diagnostics.Debug.WriteLine(e.ToStringDescriptive()); return null; } @@ -422,10 +382,8 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <returns> /// The claims as an object and null in case of failure. /// </returns> - private AzureADClaims ParseAccessToken(string token, bool validate) - { - try - { + private AzureADClaims ParseAccessToken(string token, bool validate) { + try { // This is the encoded JWT token split into the 3 parts string[] strparts = token.Split('.'); @@ -433,8 +391,7 @@ namespace DotNetOpenAuth.AspNet.Clients { string jwtHeader, jwtClaims; string jwtb64Header, jwtb64Claims, jwtb64Sig; byte[] jwtSig; - if (strparts.Length != 3) - { + if (strparts.Length != 3) { return null; } jwtb64Header = strparts[0]; @@ -449,34 +406,28 @@ namespace DotNetOpenAuth.AspNet.Clients { AzureADClaims claimsAD = s1.Deserialize<AzureADClaims>(jwtClaims); AzureADHeader headerAD = s1.Deserialize<AzureADHeader>(jwtHeader); - if (validate) - { + if (validate) { // Check to see if the token is valid // Check if its JWT and RSA encoded - if (headerAD.Typ.ToUpper() != "JWT") - { + if (headerAD.Typ.ToUpper() != "JWT") { return null; } // Check if its JWT and RSA encoded - if (headerAD.Alg.ToUpper() != "RS256") - { + if (headerAD.Alg.ToUpper() != "RS256") { return null; } - if (string.IsNullOrEmpty(headerAD.X5t)) - { + if (string.IsNullOrEmpty(headerAD.X5t)) { return null; } // Check audience to be graph - if (claimsAD.Aud.ToLower().ToLower() != GraphResource.ToLower()) - { + if (claimsAD.Aud.ToLower().ToLower() != GraphResource.ToLower()) { return null; } // Check issuer to be sts - if (claimsAD.Iss.ToLower().IndexOf(STSName.ToLower()) != 0) - { + if (claimsAD.Iss.ToLower().IndexOf(STSName.ToLower()) != 0) { return null; } @@ -485,22 +436,18 @@ namespace DotNetOpenAuth.AspNet.Clients { double secsnow = span.TotalSeconds; double nbfsecs = Convert.ToDouble(claimsAD.Nbf); double expsecs = Convert.ToDouble(claimsAD.Exp); - if ((nbfsecs - 100 > secsnow) || (secsnow > expsecs + 100)) - { + if ((nbfsecs - 100 > secsnow) || (secsnow > expsecs + 100)) { return null; } // Validate the signature of the token string tokUnsigned = jwtb64Header + "." + jwtb64Claims; - if (!ValidateSig(Encoding.UTF8.GetBytes(tokUnsigned), jwtSig, Base64URLdecodebyte(headerAD.X5t))) - { + if (!ValidateSig(Encoding.UTF8.GetBytes(tokUnsigned), jwtSig, Base64URLdecodebyte(headerAD.X5t))) { return null; } } return claimsAD; - } - catch (Exception e) - { + } catch (Exception e) { System.Diagnostics.Debug.WriteLine(e.ToStringDescriptive()); return null; } diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADHeader.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADHeader.cs index 7632900..042eccb 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADHeader.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/AzureADHeader.cs @@ -4,8 +4,7 @@ // </copyright> //----------------------------------------------------------------------- -namespace DotNetOpenAuth.AspNet.Clients -{ +namespace DotNetOpenAuth.AspNet.Clients { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; @@ -21,8 +20,7 @@ namespace DotNetOpenAuth.AspNet.Clients [EditorBrowsable(EditorBrowsableState.Never)] [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "AzureAD", Justification = "Brand name")] - public class AzureADHeader - { + public class AzureADHeader { #region Public Properties /// <summary> |