Re: Getting OS version with .NETCF

From: Danyel Meyer - dialog-it GmbH (info)
Date: 02/19/04


Date: Thu, 19 Feb 2004 08:34:44 +0100

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
"Chris Craft" <cjcraftNOSPAM@mailNOSPAM.comNOSPAM> schrieb im Newsbeitrag
news:urDYt7a9DHA.2644@TK2MSFTNGP11.phx.gbl...
> 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/
>
>
> "Danyel Meyer - dialog-it GmbH dialog-it.de>" <info<at> wrote in message
> news:eRPRyoS9DHA.2064@TK2MSFTNGP11.phx.gbl...
> > ...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
> >
> > "Maarten Struys, eMVP" <maarten.struys@nospam.pts.nl> schrieb im
> Newsbeitrag
> > news:ACEB33FC-7FE8-43F5-ADA5-2A501CED6EFA@microsoft.com...
> > >
> > > Take a look at System.Environment.OSVersion.Version
> > >
> > > Regards,
> > > Maarten Struys, eMVP
> > > PTS Software bv
> > > www.dotnetfordevices.com | www.opennetcf.org
> > >
> > >      ----- Imran Iqbal wrote: -----
> > >
> > >      How can i get the operating system version/ name with .NET CF ?
> > >
> > >      Regards,
> > >
> > >      -- Imran
> > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Getting OS version with .NETCF
    ... see if certain Pocket PC Phone Edition files exist on the device. ... Pocket PC Phone Edition device. ... >> Regards, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Getting OS version with .NETCF
    ... see if certain Pocket PC Phone Edition files exist on the device. ... Pocket PC Phone Edition device. ... >> Regards, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Hands Free Link with 2004 Acura TL
    ... Does anyone know if the Pocket PC Phone Edition can work the same way? ... Regards, ... Brian ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: Problem with international numbers
    ... > correctly and Pocket PC Phone Edition isn't. ... > and Microsoft needs to fix thsi fault... ... It's a hard-won international standard format (E.123, ...
    (microsoft.public.pocketpc.phone_edition)
  • How to tell Pocket PC from Pocket PC Phone Edition at runtime?
    ... It's my understanding that on Smartphone and Pocket PC Phone edition I ... The app already works fine on Smartphone/Pocket PC 2002/2003 if I ... statically decide if I call ConnMgr* or not. ...
    (microsoft.public.pocketpc.developer)