c# – 检测应用程序是否在Microsoft Surface RT上运行?
发布时间:2020-12-15 22:04:07 所属栏目:百科 来源:网络整理
导读:有没有一种简单的方法来检测我的C# Windows 8商店应用程序是否在Microsoft Surface RT与Surface Pro 1/2/3上运行? 解决方法 源代码: https://github.com/AttackPattern/CSharpAnalytics/tree/master/Source/CSharpAnalytics/SystemInfo 用法: var Model =
有没有一种简单的方法来检测我的C#
Windows 8商店应用程序是否在Microsoft Surface RT与Surface Pro 1/2/3上运行?
解决方法
源代码:
https://github.com/AttackPattern/CSharpAnalytics/tree/master/Source/CSharpAnalytics/SystemInfo 用法: var Model = await WindowsStoreSystemInfo.GetDeviceModelAsync(); 我的设备上的示例: Model: "MacBookPro9,2" Model: "Surface with Windows RT" Model: "Surface with Windows 8" 我没有表面2或3,所以我不知道,但我认为他们给出了“Surface Pro 2”或“Surface Pro 3”.需要确认. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |