Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Show:
© 2015 Microsoft