获取系统信息
~~~
Windows.System.Profile.AnalyticsVersionInfo analyticsVersion = Windows.System.Profile.AnalyticsInfo.VersionInfo;
reminder = analyticsVersion.DeviceFamily;
ulong v = ulong.Parse(Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamilyVersion);
ulong v1 = ( v & 0xFFFF000000000000L ) >> 48;
ulong v2 = ( v & 0x0000FFFF00000000L ) >> 32;
ulong v3 = ( v & 0x00000000FFFF0000L ) >> 16;
ulong v4 = ( v & 0x000000000000FFFFL );
reminder = $"{v1}.{v2}.{v3}.{v4}";
Windows.ApplicationModel.Package package = Windows.ApplicationModel.Package.Current;
reminder = package.Id.Architecture.ToString();
reminder = package.DisplayName;
EasClientDeviceInformation eas = new EasClientDeviceInformation();
reminder= eas.SystemManufacturer;
~~~
reminder把字符串输出到textbox
Windows.Desktop
10.0.10586.29
X86
参考:[https://www.suchan.cz/2015/08/uwp-quick-tip-getting-device-os-and-app-info/](https://www.suchan.cz/2015/08/uwp-quick-tip-getting-device-os-and-app-info/)
- 前言
- UWP win10 app 新关键字x:Bing
- win10应用 UWP 使用MD5算法
- win10 UWP读写文件
- UWP appButtonBar样式
- C# 6.0 $"Hello {csdn}"
- Win10 UWP xaml 延迟加载元素
- UWP xaml 圆形头像
- UWP 绘制图形
- win10 uwp 通知Toast
- win10 UWP 显示地图
- win10 uwp 参考
- win10 uwp clone
- win10 uwp 装机必备应用 含源代码
- RichEditBox 使用自定义菜单
- win10 UWP FlipView
- win10 UWP 获取系统信息
- win10 UWP 申请微软开发者
- win10 UWP button
- win10 UWP Markdown 含源代码
- win10 UWP 应用设置
- win10 UWP 九幽数据分析
- win10 UWP 圆形等待
- win10 UWP 标题栏后退
- win10 UWP 单元测试
- win10 UWP 你写我读
- win10 UWP RSS阅读器
- win10 UWP MessageDialog 和 ContentDialog
- win10 UWP Hmac
- win10 UWP GET Post
- Win10 UWP Intro to controls and events
- win10 UWP Controls by function
- win10 uwp App-to-app communication 应用通信