GetVersionEx is not valid,and IsWindows10OrGreater can not make a distinction between win 10 and win 11
GetVersionEx is not valid,and IsWindows10OrGreater can not make a distinction between win 10 and win 11
I had done a test with 3 methods : WindowsVersion.zip
I have only Windows 10 so I cannot test,
but people said on other threads that the 3rd one worked, or also with WMI
The enclosure is not invalid,I can not download. And the way of using Wmi exactly is a method, but I want to get it by api, thank you so much!
The enclosure is not invalid
I don't see what you mean.
I just tested and I can download the zip (with MS Edge or SeaMonkey) :

9 people are following this question.
Upgrading to Windows 11-processor requirement
Why is my Surface Laptop i7 not compatible with Windows 11
Intel Core i5-7500 7th Generation Processor are capable for windows 11?
Issues with Device Security not showing Standard Hardware Security on supported hardware
Should microsoft re-consider the minimum requirements for windows 11 ?