.Net 3.5 version Info?!

  • Thread starter Thread starter Leon_Amirreza
  • Start date Start date
L

Leon_Amirreza

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?
 
Leon_Amirreza said:
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/6608419.aspx
 
what is this "1033" number that appears in many MS program folders or
registry key?
Just curois!
 
Back
Top