How do I find out what CLR i am using?

2019-05-03 19:09发布

问题:

Is there something available that tells me what .NET version I am using and whether it is .NET 2.0 SP1?

Thanks

回答1:

You can use Environment.Version to find the version of the CLR you are running on.

This can be checked against the list of framework version numbers. For .NET 2.0 SP1 you'd be looking to match 2.0.50727.1433.



标签: .net clr