[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

.Net 3.5 version Info?!

Leon_Amirreza

10/2/2008 1:43:00 PM

How to obtain .net framwork programatically?
I used Environment.Version; it reports version 2 on a Vista machine that
..net 3.5 SP1 is installed:

{2.0.50727.3053}
Build: 50727
Major: 2
MajorRevision: 0
Minor: 0
MinorRevision: 3053
Revision: 3053

Anything wrong?

3 Answers

Jeroen Mostert

10/2/2008 2:00:00 PM

0

Leon_Amirreza wrote:
> How to obtain .net framwork programatically?
> I used Environment.Version; it reports version 2 on a Vista machine that
> .net 3.5 SP1 is installed:
>
This is correct. Environment.Version reports the CLR version, which is 2.0
(with a different build for 2.0 SP1) for all version of the framework >= 2
so far.

You'll have to do some registry checking to get the version of the framework
beyond the runtime. See
http://blogs.msdn.com/astebner/archive/2007/11/29/66...

--
J.

Leon_Amirreza

10/2/2008 4:41:00 PM

0

what is this "1033" number that appears in many MS program folders or
registry key?
Just curois!

"Jeroen Mostert" <jmostert@xs4all.nl> wrote in message
news:48e4d3f3$0$184$e4fe514c@news.xs4all.nl...
> Leon_Amirreza wrote:
>> How to obtain .net framwork programatically?
>> I used Environment.Version; it reports version 2 on a Vista machine that
>> .net 3.5 SP1 is installed:
>>
> This is correct. Environment.Version reports the CLR version, which is 2.0
> (with a different build for 2.0 SP1) for all version of the framework >= 2
> so far.
>
> You'll have to do some registry checking to get the version of the
> framework beyond the runtime. See
> http://blogs.msdn.com/astebner/archive/2007/11/29/66...
>
> --
> J.

Mark Salsbery [MVP]

10/2/2008 5:15:00 PM

0

"Leon_Amirreza" <r_rahmaty@hotmail.com> wrote in message
news:eXiWf2KJJHA.6088@TK2MSFTNGP04.phx.gbl...
> what is this "1033" number that appears in many MS program folders or
> registry key?
> Just curois!
>


http://blogs.msdn.com/oldnewthing/archive/2004/06/09/1...

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++