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

WebClient.AsyncDownloadString Extension Method (F#)

Returns an asynchronous computation that, when run, will wait for the download of the given URI.

Namespace/Module Path: Microsoft.FSharp.Control.WebExtensions

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
type System.Net.WebClient with
  member AsyncDownloadString : Uri -> Async<string>

// Usage:
webClient.AsyncDownloadString (address)

address

Type: Uri

The URI to retrieve.

An asynchronous computation (Async object) that will wait for the return of the URI.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 2.0, 4.0

Show:
© 2015 Microsoft