Welcome to MSDN Blogs Sign in | Join | Help

How to determine the .NET installation directory and CLR version

I recently discovered the System.Runtime.InteropServices.RuntimeEnvironment class, especially RuntimeEnvironment.GetRuntimeDirectory().

Also, RuntimeEnvironment.GetSystemVersion() gets the version of the CLR that is running the current process.

Published Wednesday, May 07, 2008 12:12 PM by Kirill Osenkov
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker