Windows version / .NET Framework

Markus Freitag 3,786 Reputation points


I want to know which Windows version is installed and which .NET Framework version.
How and with which function can I read it?
My system Win10, VS2019.

Microsoft Technologies based on the .NET software framework.
3,439 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,356 questions
0 comments No comments
{count} votes

Accepted answer
  1. YujianYao-MSFT 4,281 Reputation points Microsoft Vendor

    Hi Markus Freitag,

    Regarding how to install .net framework on Win10, I recommend you refer to this document.

    Since you have already installed VS2019, you could also install it in visual studio installers:

    User's image

    User's image

    So, you could use VS to create a .net framework project.

    User's image

    Best regards,


    If the answer is the right solution, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

1 additional answer

Sort by: Most helpful
  1. Jaliya Udagedara 2,736 Reputation points MVP

    To know which version of .NET Framework is installed in your OS, read this: .NET Framework versions and dependencies

    If you want to read it programmatically, you will have to read the Registry Key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full) as mentioned here:
    How to: Determine which .NET Framework versions are installed

    To determine which .NET implementation and version an app is running on, use RuntimeInformation.FrameworkDescription property.