Reputation: 455
I tried to find a way to get the information. but all I got was OSVersion information like 10.0.xxxx.0 or accessing registry information. and I know using registry is not allowed on Windows Store Applications.
So I tried again to have, at least, 'Windows 10' but Environment has 'Windows_NT'... I know I can match major version 10 as Windows 10 however I just want to use data as it is (for the future case)
Pleas help me. thanks.
Upvotes: 4
Views: 166
Reputation: 1301
Windows Community toolkit has helpers which has a static utility class SystemInformation.
It provides an easy way to access application as well as system information like OperatingSystem
,OperatingSystemArchitecture
and OperatingSystemVersion
among others which can provide the exact information that you need.
Since this toolkit is maintained and updated very well you can be sure of any cases for future releases
Upvotes: 4