Table of Contents

Class AppUpdaterService

Namespace
VpnHood.AppLib.App.Services.Updaters
Assembly
VpnHood.AppLib.App.dll

Provides the app's updates: it reads the update feed and asks the channel's updater, and tells the UI when to offer a newer version.

public class AppUpdaterService : IDisposable
Inheritance
AppUpdaterService
Implements
Inherited Members

Properties

Status

Gets the update's status, made at each read: the version's standing, by the feed's release or the store's offer, the last recorded check, the feed's release as last read, whether the app prompts, and the updater's own progress with a newer release.

public AppUpdaterStatus Status { get; }

Property Value

AppUpdaterStatus

UpdaterProvider

Gets the updater of the app's channel, the one the app was built with (UpdaterProvider), or null; a desktop service's hand-back installs with it too.

public IAppUpdaterProvider? UpdaterProvider { get; }

Property Value

IAppUpdaterProvider

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Remarks

Once disposed, the service starts no more writes of its data; one under way may still end.