question

61458265 avatar image
0 Votes"
61458265 asked Castorix31 commented

How can I get windows 11 operating system version by api precisely?

GetVersionEx is not valid,and IsWindows10OrGreater can not make a distinction between win 10 and win 11

windows-11
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered Castorix31 commented

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


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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!

0 Votes 0 ·

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) :

190862-windowsversion.jpg


0 Votes 0 ·
windowsversion.jpg (48.5 KiB)

!Need I Login?
190785-image.png


0 Votes 0 ·
image.png (78.6 KiB)
Show more comments