InterviewSolution
| 1. |
How To Get The Device Platform On Windows 10 Uwp App? |
|
Answer» From Windows 10, now no more than one app package and we can use only one BINARY package that can run across all Microsoft platforms (Mobile,Desktop,XBOX,SURFACE Hub, HOLOGRAPHIC, IOT..etc). So you might want to get the device platform type from your app using c#. And you can use the DeviceFamily property defined in the Windows.System.Profile.AnalyticsInfo.VersionInfo class. public void GetPlatformType() { var WindowsPlatformFamily = Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamily; } From Windows 10, now no more than one app package and we can use only one binary package that can run across all Microsoft platforms (Mobile,Desktop,Xbox,Surface Hub, Holographic, IOT..etc). So you might want to get the device platform type from your app using c#. And you can use the DeviceFamily property defined in the Windows.System.Profile.AnalyticsInfo.VersionInfo class. public void GetPlatformType() { var WindowsPlatformFamily = Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamily; } |
|