HttpClient.GetStringAsync Method

.NET Framework 4.6 and 4.5

Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetStringAsync(String) Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation.
Public method GetStringAsync(Uri) Send a GET request to the specified Uri and return the response body as a string in an asynchronous operation.
Top

This operation will not block.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft