This is a WinVersion Library (DLL) for Windows projects, to detect various versions of Windows (up to Server 2008). In the screenshot, you can see the different supports functions and versions. This has not been actively developed since 2011, so of course it is not up to date with the most current versions of Windows.

Runs with .NET 3.5