Skip to main content

IUpdateSource Interface

Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.626+6f1a94e

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