From 899b53c61e60c8634e9c784cc148b540a655b147 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 20 Mar 2020 10:22:43 +0100 Subject: [PATCH 1/3] update doc --- docs/helpers/SystemInformation.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/helpers/SystemInformation.md b/docs/helpers/SystemInformation.md index 65b480d19..3ae9a5e87 100644 --- a/docs/helpers/SystemInformation.md +++ b/docs/helpers/SystemInformation.md @@ -1,13 +1,13 @@ --- title: SystemInformation author: nmetulev -description: The SystemInformation class is a static utility class that provides properties with some system, application and device information. +description: The SystemInformation class is an utility class that provides properties with some system, application and device information. keywords: windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, SystemInformation --- # SystemInformation -The [SystemInformation](https://docs.microsoft.com/dotnet/api/microsoft.toolkit.uwp.helpers.systeminformation?view=uwp-toolkit-dotnet) class is a static utility class that provides properties with some system, application and device information. +The [SystemInformation](https://docs.microsoft.com/dotnet/api/microsoft.toolkit.uwp.helpers.systeminformation?view=uwp-toolkit-dotnet) class is an utility class that provides properties with some system, application and device information. > [!div class="nextstepaction"] > [Try it in the sample app](uwpct://Helpers?sample=SystemInformation) @@ -26,6 +26,7 @@ The [SystemInformation](https://docs.microsoft.com/dotnet/api/microsoft.toolkit. | DeviceModel | string | Gets the model of the device as a `string`. The value will be empty if the device model couldn't be determined (ex: when running in a virtual machine). | | FirstUseTime | DateTime | Gets the DateTime (in UTC) that the app as first used. | | FirstVersionInstalled | [PackageVersion](https://docs.microsoft.com/uwp/api/Windows.ApplicationModel.PackageVersion) | Gets the first version of the app that was installed. | +| Instance | SystemInformation | Gets public singleton property. | | IsFirstRun | bool | Gets a value indicating whether the app is being used for the first time since it was installed. | | IsAppUpdated | bool | Gets a value indicating whether the app is being used for the first time since being upgraded from an older version. | | LastLaunchTime | DateTime | Gets the DateTime (in UTC) that this was previously launched. | From 45c821676f4a13fff95604801f770a7a45f3f122 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 3 Jun 2020 08:47:13 +0200 Subject: [PATCH 2/3] Update docs/helpers/SystemInformation.md Co-authored-by: Kyaa-dost <35208324+Kyaa-dost@users.noreply.github.com> --- docs/helpers/SystemInformation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/helpers/SystemInformation.md b/docs/helpers/SystemInformation.md index 3ae9a5e87..40783faa0 100644 --- a/docs/helpers/SystemInformation.md +++ b/docs/helpers/SystemInformation.md @@ -1,7 +1,8 @@ --- title: SystemInformation author: nmetulev -description: The SystemInformation class is an utility class that provides properties with some system, application and device information. +description: The SystemInformation class is a utility class that provides properties with some system, application and device information. + keywords: windows 10, uwp, windows community toolkit, uwp community toolkit, uwp toolkit, SystemInformation --- From fc677c90fb626d8b10abc5c2d0c2dbee118b5ec5 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 3 Jun 2020 08:47:41 +0200 Subject: [PATCH 3/3] Update docs/helpers/SystemInformation.md Co-authored-by: Kyaa-dost <35208324+Kyaa-dost@users.noreply.github.com> --- docs/helpers/SystemInformation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/helpers/SystemInformation.md b/docs/helpers/SystemInformation.md index 40783faa0..75a098e3a 100644 --- a/docs/helpers/SystemInformation.md +++ b/docs/helpers/SystemInformation.md @@ -8,7 +8,8 @@ keywords: windows 10, uwp, windows community toolkit, uwp community toolkit, uwp # SystemInformation -The [SystemInformation](https://docs.microsoft.com/dotnet/api/microsoft.toolkit.uwp.helpers.systeminformation?view=uwp-toolkit-dotnet) class is an utility class that provides properties with some system, application and device information. +The [SystemInformation](https://docs.microsoft.com/dotnet/api/microsoft.toolkit.uwp.helpers.systeminformation?view=uwp-toolkit-dotnet) class is a utility class that provides properties with some system, application and device information. + > [!div class="nextstepaction"] > [Try it in the sample app](uwpct://Helpers?sample=SystemInformation)