How to differ between Windows Mobile 6.5.3 and previous versions during runtime?

↘锁芯ラ 提交于 2019-12-13 13:59:15

问题


Is there an established or unofficial way of finding out if my application is running on a Windows Mobile 6.5.3 device or if it's a previous version? Managed or native doesn't matter and I don't mind interop-ing.


回答1:


Since I want some reputation ;)

Here is the information I found on the web:
How to detect Windows Mobile 6.1 (Detecting AKUs)
List of AKUs on channel9
Windows CE / Windows Mobile Versions




回答2:


Use System.Environment.OSVersion

That gets the CE version number, which would have to be translated to OS Version number with a lookup table. The best I can find at the moment is here, but its not yet up to date with the newest versions.




回答3:


Maybe this example can help:



来源:https://stackoverflow.com/questions/2904104/how-to-differ-between-windows-mobile-6-5-3-and-previous-versions-during-runtime

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!