如何找到安装在使用Windows Phone OS的手机中的操作系统名称和操作系统版本。如何在Windows Mobile 7的C#中获得操作系统名称和版本详细信息?
回答
你可以尝试这些链接
http://msdn.microsoft.com/en-us/library/ff941122%28v=VS.92%29.aspx
你可以试试这个
public MainPage()
{
InitializeComponent();
GetDeviceInfo();
}
public void GetDeviceInfo()
{
long ApplicationMemoryUsage = DeviceStatus.ApplicationCurrentMemoryUsage;
long PeakMemoryUsage = DeviceStatus.ApplicationPeakMemoryUsage;
string FirmwareVersion = DeviceStatus.DeviceFirmwareVersion;
string HardwareVersion = DeviceStatus.DeviceHardwareVersion;
string Manufacturer = DeviceStatus.DeviceManufacturer;
string DeviceName = DeviceStatus.DeviceName;
long TotalMemory = DeviceStatus.DeviceTotalMemory;
string OSVersion = Environment.OSVersion.Version.ToString(); ;
PowerSource powerSource = DeviceStatus.PowerSource;
AddToList("Memory Usage :" + ApplicationMemoryUsage);
AddToList("Peak Memory Usage :" + PeakMemoryUsage);
AddToList("Firmware Version :" + FirmwareVersion);
AddToList("Hardware Version :" + HardwareVersion);
AddToList("Manufacturer :" + Manufacturer);
AddToList("Total Memory :" + TotalMemory);
AddToList("Power Source:" + powerSource.ToString());
AddToList("Operating System: Windows Phone " + OSVersion.ToString());
}
public void AddToList(string Property)
{
lstboxDeviceInfo.Items.Add(Property);
}
看看这里for more info
这里我们得到硬件的细节。我需要OS的名字。像,微软Windows CE 7.10.7720 –
啊,我的歉意。退房http://msdn.microsoft.com/en-us/library/system.environment(v=VS.95).aspx – ThePower
@NelsonTJoseph我编辑了我的答案,你会请试试。 –
我觉得版本应该Environment.OSVersion.Version
和被抓住我想你将不得不将它们与ope列表进行比较适用
- 的Windows Mobile 6 5.2
- 的Wndows Mobile 5.0的5.1
- 的Windows Mobile 2003 SE 4.21 ....
评级系统,我发现这个article可能在determing平台帮助
- 1. 如何获得“友好”操作系统版本名称?
- 2. 获取客户操作系统/浏览器的详细信息
- 3. 如何获得操作系统名称
- 4. 如何在c#中获得真正的操作系统版本?
- 5. 在ChromeWorker内检测操作系统详细信息
- 6. Cookie详细信息 - 名称和数据
- 7. 如何在qmake中获取分发名称和操作系统版本
- 8. 如何从Informix中的名称获取约束详细信息?
- 9. 是否有可能获得详细的Windows操作系统在c#中的最后一个备份细节?
- 10. MVC3详细信息操作外键名称字段
- 11. 客户端系统详细信息
- 12. 如何在Windows中获得当前操作系统版本的描述?
- 13. 获取C#中Windows 10的最新版本操作系统#
- 14. Windows Mobile操作系统8
- 15. 用Postgresql获取系统操作信息
- 16. 汇编版本的详细信息
- 17. 如何获得操作系统的语言名称
- 18. 获得详细的零件信息
- 19. 如何通过在目标c中搜索应用程序名称来获取App名称和详细信息?
- 20. 如何获取Windows Phone的当前操作系统版本?
- 21. 如何获得项目工作区的详细信息
- 22. windows mobile(过去的操作系统)和windows phone 7操作系统的功能有什么区别?
- 23. 在iphone中获取操作员详细信息
- 24. mbean读取weblogic版本详细信息
- 25. C#获取过程的详细信息
- 26. 如何获取Windows Phone 7中的任务管理器详细信息?
- 27. Crystal Reports详细信息详细信息
- 28. 在Windows Mobile 6中抑制操作系统消息
- 29. Android主详细信息详细信息
- 30. 如何在Windows和Linux上读取C++中的系统信息?
'Environment.OSVersion.Version'不工作吗? – V4Vendetta
[如何获得“友好”的操作系统版本名称?](http://stackoverflow.com/questions/577634/how-to-get-the-friendly-os-version-name) – TN888