PC Review


Reply
Thread Tools Rate Thread

Determing which .NET Version is Installed on Device

 
 
Joe Keller
Guest
Posts: n/a
 
      25th Nov 2003
Hello,

How do I programmatically determine which version of the .NET CF is
installed on my device? I'd like to read the version (be it SP1, SP2, etc.)
and display it on a form.

Thanks,

Joe


 
Reply With Quote
 
 
 
 
David Kline [msft]
Guest
Posts: n/a
 
      26th Nov 2003
You can use System.Environment.Version to display the version of the
framework. NOTE: This version will be different than the one contained in
the strong name for assemblies (ex: 1.0.2268.0 vs 1.0.5000.0)

Thanks,
David Kline
Microsoft .NET Compact Framework
--------------------------------
This posting is provided “AS IS” with no warranties, and confers no
rights.

Please do not send email directly to this alias. This alias is for
newsgroup purposes only. To correspond with me directly, remove the
'online' from
my alias.

 
Reply With Quote
 
casey chesnut
Guest
Posts: n/a
 
      26th Nov 2003
you might use the WoTe.cs class from the source code here:
http://www.devbuzz.com/content/zinc_...ne_wse_pg1.asp
Thanks
casey

""David Kline [msft]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You can use System.Environment.Version to display the version of the
> framework. NOTE: This version will be different than the one contained in
> the strong name for assemblies (ex: 1.0.2268.0 vs 1.0.5000.0)
>
> Thanks,
> David Kline
> Microsoft .NET Compact Framework
> --------------------------------
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Please do not send email directly to this alias. This alias is for
> newsgroup purposes only. To correspond with me directly, remove the
> 'online' from
> my alias.
>



 
Reply With Quote
 
Joe Keller
Guest
Posts: n/a
 
      26th Nov 2003
Thanks! Is there a posting somewhere as to what these version numbers
correspond to (e.g. 1.x.y.z = .NET CF SP1, etc.)?

Joe

""David Kline [msft]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You can use System.Environment.Version to display the version of the
> framework. NOTE: This version will be different than the one contained in
> the strong name for assemblies (ex: 1.0.2268.0 vs 1.0.5000.0)
>
> Thanks,
> David Kline
> Microsoft .NET Compact Framework
> --------------------------------
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Please do not send email directly to this alias. This alias is for
> newsgroup purposes only. To correspond with me directly, remove the
> 'online' from
> my alias.
>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      26th Nov 2003
Yes, from those builds so far released:-

1.0.2268.0 - RTM
1.0.3111.0 - SP1

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"Joe Keller" <(E-Mail Removed)> wrote in message
news:doqdnYcjw4l_YF6iRVn-(E-Mail Removed)...
> Thanks! Is there a posting somewhere as to what these version numbers
> correspond to (e.g. 1.x.y.z = .NET CF SP1, etc.)?
>
> Joe
>
> ""David Kline [msft]"" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > You can use System.Environment.Version to display the version of the
> > framework. NOTE: This version will be different than the one contained

in
> > the strong name for assemblies (ex: 1.0.2268.0 vs 1.0.5000.0)
> >
> > Thanks,
> > David Kline
> > Microsoft .NET Compact Framework
> > --------------------------------
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
> > Please do not send email directly to this alias. This alias is for
> > newsgroup purposes only. To correspond with me directly, remove the
> > 'online' from
> > my alias.
> >

>
>



 
Reply With Quote
 
Joe Keller
Guest
Posts: n/a
 
      26th Nov 2003
Thanks!

"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:e5cTi5$(E-Mail Removed)...
> Yes, from those builds so far released:-
>
> 1.0.2268.0 - RTM
> 1.0.3111.0 - SP1
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> OpenNETCF.org Senior Advisor
> www.inthehand.com | www.opennetcf.org
>
> "Joe Keller" <(E-Mail Removed)> wrote in message
> news:doqdnYcjw4l_YF6iRVn-(E-Mail Removed)...
> > Thanks! Is there a posting somewhere as to what these version numbers
> > correspond to (e.g. 1.x.y.z = .NET CF SP1, etc.)?
> >
> > Joe
> >
> > ""David Kline [msft]"" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > You can use System.Environment.Version to display the version of the
> > > framework. NOTE: This version will be different than the one

contained
> in
> > > the strong name for assemblies (ex: 1.0.2268.0 vs 1.0.5000.0)
> > >
> > > Thanks,
> > > David Kline
> > > Microsoft .NET Compact Framework
> > > --------------------------------
> > > This posting is provided "AS IS" with no warranties, and confers no
> > > rights.
> > >
> > > Please do not send email directly to this alias. This alias is for
> > > newsgroup purposes only. To correspond with me directly, remove the
> > > 'online' from
> > > my alias.
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check version of the .NET CF installed on the device Enoque Microsoft Dot NET Compact Framework 0 15th Oct 2009 10:03 AM
Windows XP Home edition version 2002 compatibility issue withpreviously installed XP version Phil Windows XP Basics 3 25th Jul 2009 01:10 AM
Programmatically check if the installed version is the latest version of IE or not rahul.s9@gmail.com Windows XP Internet Explorer 8 12th May 2006 02:05 AM
Device Not Installed Correctly in Device Manager =?Utf-8?B?UkVBVkVT?= Windows XP General 1 12th Jun 2005 09:44 PM
what is the latest version of IE, at i think i have a false version installed?? Jasonc Windows XP General 1 5th Jan 2004 05:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:50 AM.