Can I programmatically determine targeted .NET framework version?
-
04-10-2019 - |
Question
I would like to be able to display the version of the .NET framework a windows form or wpf project is targeted at and display it in the title bar of the app.
Is there a way I can do this?
Thanks
Solution
You can use the Environment.Version
property to get the currently loaded version of the CLR.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow