Environment Detection

How to check which .NET version is currently used?
Environment.Version will always return “version = {2.0.50727.3082}”, because Environment.Version returns the CLR version, NET 3.0 and 3.5 are both build upon 2.0 and still use the 2.0 CLR. They basically just add additionall class libraries. That's why Environment.Version and other APIs return 2.0 to you.

How to check if certain .NET version has been installed?
Kadir S

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)