File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Microsoft.Toolkit.Uwp.SampleApp/SamplePages/SystemInformation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 35
35
public bool IsAppUpdated => SystemInformation.Instance.IsAppUpdated;
36
36
37
37
// To get the first version installed
38
- public PackageVersion FirstVersionInstalled => SystemInformation.Instance.FirstVersionInstalled;
38
+ public string FirstVersionInstalled => SystemInformation.Instance.FirstVersionInstalled.ToFormattedString() ;
39
39
40
40
// To get the previous version installed
41
- public PackageVersion PreviousVersionInstalled => SystemInformation.Instance.PreviousVersionInstalled;
41
+ public string PreviousVersionInstalled => SystemInformation.Instance.PreviousVersionInstalled.ToFormattedString() ;
42
42
43
43
// To get the first time the app was launched
44
44
public DateTime FirstUseTime => SystemInformation.Instance.FirstUseTime;
You can’t perform that action at this time.
0 commit comments