Search code examples
.netclr

Get Current .NET CLR version at runtime?


How can I get the current CLR Runtime version in a running .NET program ?


Solution

  • Check out the System.Environment.Version property.
    https://learn.microsoft.com/en-us/dotnet/api/system.environment.version