class documentation
        
        class WindowsVersion(_enum.Enum):
The Windows version.
It is determined from the KernelVersion. Since they share the same kernel version, Windows Server versions are detected as their desktop counterparts.
Additionally, since Windows 10 and Windows 11 share the same kernel version, they are distinguished with an heuristics on the build number (which is exposed by KernelVersion.patch on Windows OSes.
- Windows7: Windows 7
- Windows8: Windows 8
- Windows8_1: Windows 8.1
- Windows10: Windows 10
- Windows11: Windows 11