blog.mha.dk
The on-line blog of Michael Holm Andersen

Detect .NET Framework version

Friday, 18 May 2007 01:19 by mha

Quite a few people have asked me how to detect which .NET Framework version is running on their Web Hosting Server. It's actuelly quite easy.

You can get the current .NET version using System.Environment.Version.ToString(); - this will return the version number of the ASP.NET assembly in the Global Assembly Cache.

Categories:   ASP.NET
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed
Comments are closed