.Net 3.5 version Info?!

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?
 
J

Jeroen Mostert

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
 
L

Leon_Amirreza

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top