How can I find out which .net version I'm running?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to dyanmically get the version of the .net framework from an ASP.net application (the version that application is running on). Anybody know how to do this

Thanks
Jeremy
 
I think I figured it out...

I'm using:
System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion

This seems to work, if there are any other ways please let me know.

Thanks
 
System.Environment.Version should do that also.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

I think I figured it out...

I'm using:
System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion

This seems to work, if there are any other ways please let me know.

Thanks
 
Back
Top