How to differ between Windows Mobile 6.5.3 and previous versions during runtime?
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:
精彩评论