Sdílet prostřednictvím


VersionTracking Class

Definition

Provides an easy way to track an app's version on a device.

public static class VersionTracking
Inheritance
System.Object
VersionTracking

Properties

BuildHistory

Gets the collection of build numbers of the app that ran on this device.

CurrentBuild

Gets the current build of the app.

CurrentVersion

Gets the current version number of the app.

FirstInstalledBuild

Gets the build number of first version of the app that was installed on this device.

FirstInstalledVersion

Gets the version number of the first version of the app that was installed on this device.

IsFirstLaunchEver

Gets a value indicating whether this is the first time this app has ever been launched on this device.

IsFirstLaunchForCurrentBuild

Gets a value indicating if this is the first launch of the app for the current build number.

IsFirstLaunchForCurrentVersion

Gets a value indicating if this is the first launch of the app for the current version number.

PreviousBuild

Gets the build number for the previously run version.

PreviousVersion

Gets the version number for the previously run version.

VersionHistory

Gets the collection of version numbers of the app that ran on this device.

Methods

IsFirstLaunchForBuild(String)

Determines if this is the first launch of the app for a specified build number.

IsFirstLaunchForVersion(String)

Determines if this is the first launch of the app for a specified version number.

Track()

Starts tracking version information.

Applies to