Saltar al contenido principal

UpdateInfo struct

Holds information about the current version and pending updates, such as how many there are, and access to release notes.

struct UpdateInfo

Fields

FieldSummary
IsDowngradeTrue if the update is a version downgrade or lateral move (such as when switching channels to the same version number). In this case, only full updates are allowed, and any local packages on disk newer than the downloaded version will be deleted.
TargetFullReleaseThe available version that we are updating to.
BaseReleaseThe base release that this update is based on. This is only available if the update is a delta update.
DeltasToTargetThe list of delta updates that can be applied to the base version to get to the target version.

IsDowngrade

bool IsDowngrade;

True if the update is a version downgrade or lateral move (such as when switching channels to the same version number). In this case, only full updates are allowed, and any local packages on disk newer than the downloaded version will be deleted.

TargetFullRelease

The available version that we are updating to.

BaseRelease

The base release that this update is based on. This is only available if the update is a delta update.

DeltasToTarget

The list of delta updates that can be applied to the base version to get to the target version.


Generated from Velopack (C++ headers)