PackageVersion
Namespace: XPlat.ApplicationModel
Represents the package version info
Supported platforms
Platform
Version
.NET Standard
2.0
Xamarin.Android
9.0
Xamarin.iOS
1.0
UWP
10.0.16299
Example
Use the Package.Current property to get the package for the current app. Use the Package.Id property to get the package ID, from which you can then get the version.
Fields
Major
The major version number of the package.
Minor
The minor version number of the package.
Build
The build version number of the package.
Revision
The revision version number of the package.
Related information
References
Last updated