Get ActiveSync version

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cfyam

    Get ActiveSync version

    How can I get the MS ActiveSync version on PC?


  • Adrian Mascarenhas

    #2
    RE: Get ActiveSync version

    >[color=blue]
    >How can I get the MS ActiveSync version on PC?
    >[/color]

    I have ActiveSync installed on my XP machine. I found version info for
    ActiveSync in the system registry (regedit.exe) at
    HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows CE Services.
    You can query the version info programmaticall y in C# from the reg-key by
    using:

    RegistryKey regkey;
    regkey = Registry.LocalM achine.OpenSubK ey(@"SOFTWARE\M icrosoft\Window s CE
    Services");

    int majorVersion = regkey.GetValue Names("MajorVer sion");

    int minorVersion = (string)regkey. GetValue("Minor Version);

    Hope this helps.
    --
    Adrian Mascarenhas, Developer Division

    This posting is provided "AS IS" with no warranties, and confers no rights.

    Note: For the benefit of the community-at-large, all responses to this
    message are best directed to the newsgroup/thread from which they
    originated.

    Comment

    Working...