Getting OS version with .NETCF

  • Thread starter Thread starter Imran Iqbal
  • Start date Start date
....and in addition to that, how could I figure out, if a phone-edition is
installed on a device? ;)


--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine

Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail danyel.meyer <at> dialog-it.de
 
I'm sure there has to be a cleaner way of doing this but you can check to
see if certain Pocket PC Phone Edition files exist on the device.
If you find sms.dll, then you can be reasonable certain, that it is indeed a
Pocket PC Phone Edition device.

Hopefully, someone else knows of a registry setting, etc. that will tell you
straight out if it is or not.

Thanks,
Chris Craft
http://www.cjcraft.com/
 
Thanks Chris,

Until now I do a File.Exists() on "\Windows\phone.dll" and it seems to work
on both PPC2002 & 2003 emulators and devices.
Might it be more "safe" to check for sms.dll?
I hope someone knows an other way if this possibility is not exact enough.


--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine

Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail danyel.meyer <at> dialog-it.de
 
Back
Top