Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebClient.DownloadStringAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9147)

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.

In This Article
  • DownloadStringAsync(String, Object)
  • DownloadStringAsync(Uri, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies