Skip to main content

IUpdateSource Interface

Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.942+a011233

Abstraction for finding and downloading updates from a package source / repository. An implementation may copy a file from a local repository, download from a web address, or even use third party services and parse proprietary data to produce a package feed.

public interface IUpdateSource

Methods

NameDescription
DownloadReleaseEntry(ILogger, VelopackAsset, string, Action<int>, CancellationToken)Download the specified VelopackAsset to the provided local file path.
GetReleaseFeed(ILogger, string, Guid?, VelopackAsset)Retrieve the list of available remote releases from the package source. These releases can subsequently be downloaded with DownloadReleaseEntry(ILogger, VelopackAsset, string, Action<int>, CancellationToken).

Documentation generated by MdDocs