IUpdateSource.DownloadReleaseEntry Method
Declaring Type: IUpdateSource
Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.942+a011233
Download the specified VelopackAsset to the provided local file path.
public Task DownloadReleaseEntry(ILogger logger, VelopackAsset releaseEntry, string localFile, Action<int> progress, CancellationToken cancelToken = default);
Parameters
logger
ILogger
The logger to use for any diagnostic messages.
releaseEntry
VelopackAsset
The release to download.
localFile
string
The path on the local disk to store the file. If this file exists, it will be overwritten.
progress
Action<int>
This delegate will be executed with values from 0-100 as the download is being processed.
cancelToken
CancellationToken
A token to use to cancel the request.
Returns
Task
Documentation generated by MdDocs