How to distinguish windows mobile 6.0 and windows mobile 6.1? RRS feed

  • Question

  • I need to code an application, which is designed to be able to install on windows mobile 6.0 but should not be installed on windows mobile 6.1 and above. 

    But by searching MSDN, google, and bing, I can't find a document to tell us how to distinguish WM 6.0 and WM 6.1 by programming? By checking version number or anything else?

    I find a document (wiki page) to tell how to distinguish Wm 6.0 and WM 6.1



    Aside from the visual and feature distinctions, the underlying CE versions can be used to differentiate WM6.0 from WM 6.1. The version of Windows CE in WM 6.0 is 5.2.*, with the final number being a 4 digit build ID (e.g. 5.2.1622 on HTC Wing). In WM 6.1, the CE version is 5.2.* with a 5 digit build number (e.g. 5.2.19216 on Palm Treo 800w).


    However, after implementation and checking, it is wrong.


    In summary, how to distinguish WM 6.0 and WM 6.1? Any comment will be helpful.

    Thanks a lot.

    Tuesday, August 3, 2010 5:40 AM


  • Hi there.

    You can use the AKU  (Adaption Kit Update) number to determine this. The AKU is stored in the registry, so use something like this:

    RegistryKey key = Registry.LocalMachine.OpenSubKey("System\\Versions");
    string akuVersion = key.GetValue("Aku", "").ToString();

    A list of know AKU's .

    So WM 6.0 would be 0.* numbers and WM 6.1 would be 1.*

    Hope this helps.



    My blog: InsomniacGeek.com
    • Marked as answer by yazoox Monday, August 9, 2010 2:52 AM
    Tuesday, August 3, 2010 7:29 AM