IUpdateSource.DownloadReleaseEntry Method
Declaring Type: IUpdateSource
Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.1298+ed8600e
Download the specified VelopackAsset to the provided local file path.
public Task DownloadReleaseEntry(IVelopackLogger logger, VelopackAsset releaseEntry, string localFile, Action<int> progress, CancellationToken cancelToken = default);
Parameters
logger  IVelopackLogger
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