Table of contents
TOC
Collapse the table of content
Expand the table of content

WebClient.AsyncDownloadString Extension Method (F#)

Den Delimarsky|Last Updated: 7/5/2016
|
1 Contributor

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)

Syntax

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

// Usage:
webClient.AsyncDownloadString (address)

Parameters

address Type: System.Uri

The URI to retrieve.

Return Value

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

Platforms

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

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0

See Also

Control.WebExtensions Module (F#)

© 2016 Microsoft