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

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
 
G

Guest

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
 
T

Teemu Keiski

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top