Skip to main content

HttpClientFileDownloader.DownloadFile Method

Declaring Type: HttpClientFileDownloader
Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.1298+ed8600e

[AsyncStateMachine(Velopack.Sources.HttpClientFileDownloader/<DownloadFile>d__2)]
public Task DownloadFile(string url, string targetFile, Action<int> progress, [Nullable(Mono.Cecil.CustomAttributeArgument[])]IDictionary<string, string> headers, double timeout, CancellationToken cancelToken = default);

Parameters

url string

targetFile string

progress Action<int>

headers IDictionary<string, string>

timeout double

cancelToken CancellationToken

Returns

Task


Documentation generated by MdDocs