How to determine the .NET installation directory and CLR version

How to determine the .NET installation directory and CLR version

  • Comments 0

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.

Leave a Comment
  • Please add 1 and 3 and type the answer here:
  • Post