Determing which .NET Version is Installed on Device

  • Thread starter Thread starter Joe Keller
  • Start date Start date
J

Joe Keller

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
 
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.
 
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
 
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 said:
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]" said:
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.
 
Thanks!

Peter Foot said:
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 said:
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]" said:
You can use System.Environment.Version to display the version of the
framework. NOTE: This version will be different than the one
contained
 
Back
Top