WebClient.DownloadStringAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
DownloadStringAsync(String, Object)
Begins asynchronous DownloadString operation. Downloads a resource from provided URI as a string.
Declaration
public Task<string> DownloadStringAsync(string uri, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | uri | Uri to retrieve resource from. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<String> | String containing a resource. |
DownloadStringAsync(Uri, Object)
Begins asynchronous DownloadString operation. Downloads a resource from provided URI as a string.
Declaration
public Task<string> DownloadStringAsync(Uri uri, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | Uri to retrieve resource from. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<String> | String containing a resource. |