Alex Rivera | Logout

Is there an easy way to check the .NET Framework version?

Asked 2009-06-04T17:06:24.923
101

The problem is that I need to know if it's version 3.5 SP 1. Environment.Version() only returns 2.0.50727.3053.

I found this solution, but I think it will take much more time than it's worth, so I'm looking for a simpler one. Is it possible?

Edit
Report

1 Answer

11

Environment.Version() is giving the correct answer for a different question. The same version of the CLR is used in .NET 2.0, 3, and 3.5. I suppose you could check the GAC for libraries that were added in each of those subsequent releases.

answered 2009-06-04T18:41:36.290

Your Answer