开发者

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

开发者 https://www.devze.com 2022-12-31 07:25 出处:网络
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

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.


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


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.


Maybe this example can help:

0

精彩评论

暂无评论...
验证码 换一张
取 消