Showing posts with label .NET CLR. Show all posts
Showing posts with label .NET CLR. Show all posts

Monday, August 3, 2009

How to detect installed CLR versions

In the VS.NET Command Prompt, there is a command called "CLRVER". It shows all .NET versions installed on your computer. Also, as an addition to this command, you can show active runtime processes using the -all switch.




C# Code for finding version:
using System;
class Version
{
public static void Main()
{
Console.WriteLine();
Console.WriteLine(".Net Framework Version {0}",Environment.Version.ToString());
}
}