Udostępnij za pośrednictwem


PackageUtilities.CopyUrlToLocalAsync(Uri, String, CancellationToken) Method

Definition

Downloads a file from a given URL to a local file path.

public static System.Threading.Tasks.Task CopyUrlToLocalAsync (Uri uri, string local, System.Threading.CancellationToken cancellationToken);
static member CopyUrlToLocalAsync : Uri * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CopyUrlToLocalAsync (uri As Uri, local As String, cancellationToken As CancellationToken) As Task

Parameters

uri
Uri
local
String
cancellationToken
CancellationToken

Returns

Applies to