Checking the CLR Version in C#.NET
And now for something completely unrelated to what I have previously been blogging about, I needed to write a quick application that showed the current .NET CLR version that was used to run an application. To get the value for the CLR version you just need to use this static method:
System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion()
Now aren’t you glad I documented that?
Technorati Tags: c#.net, clr
1 Comment so far
Leave a reply
FYI
It’s System.Runtime.InteropS ervices.RuntimeEnvironm ent.GetRuntimeVersion()