Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/SystemInformation/SystemInformationCode.bind

Co-authored-by: Sergio Pedri <sergio0694@live.com>
This commit is contained in:
PandaSharp (Emiliano84) 2021-05-08 17:44:15 +02:00 коммит произвёл Sergio Pedri
Родитель 9a30a071b6
Коммит db4039311f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -35,10 +35,10 @@
public bool IsAppUpdated => SystemInformation.Instance.IsAppUpdated;
// To get the first version installed
public PackageVersion FirstVersionInstalled => SystemInformation.Instance.FirstVersionInstalled;
public string FirstVersionInstalled => SystemInformation.Instance.FirstVersionInstalled.ToFormattedString();
// To get the previous version installed
public PackageVersion PreviousVersionInstalled => SystemInformation.Instance.PreviousVersionInstalled;
public string PreviousVersionInstalled => SystemInformation.Instance.PreviousVersionInstalled.ToFormattedString();
// To get the first time the app was launched
public DateTime FirstUseTime => SystemInformation.Instance.FirstUseTime;