GetCurrentPackageName
1 2 3
| var packageName = PackageHelper.GetCurrentPackageName();
|
GetCurrentPackageName
Works only in Packaged
mode, in UnPackaged mode this will Returns the null value.
IsPackaged
1 2 3
| var isPackagedMode = PackageHelper.IsPackaged;
|
GetPackageDetails
1
| var packageDetails = PackageHelper.GetPackageDetails();
|
GetPackageVersion
1 2 3 4 5 6
| var packageVersion = PackageHelper.GetPackageVersion(); packageVersion.Major.ToString(); packageVersion.Minor.ToString(); packageVersion.Build.ToString(); packageVersion.Revision.ToString();
|