TAKE NOTE: System.Version returns 10.0.22000 on Windows 11

This is not a Xojo bug, but it did catch me off-guard:

System.Version is reporting version 10.0.22000 for Windows 11. I guess that’s normal/expected (ie Microsoft’s Grand Plan), but it kinda blows if you’re recording bugs in a database and people searching that database might expecting it to be 11.0.22000.

A genuine Windows 10 might be something like: 10.0.19044.

Just sayin’…

Yeah, >= 22000 is Windows 11. At least until whatever they call Windows 12.

Guess the values for Windows 7, 8 and 8.1?

Let me tell you that all those are some sort of 6.x.x

1 Like

It is a build history that is different for sure:

Windows 11 (21H2) 10.0.22000
Windows 10 (21H2) 10.0.19044
Windows 10 (21H1) 10.0.19043
Windows 10 (20H2) 10.0.19042
Windows 10 (2004) 10.0.19041
Windows 10 (1909) 10.0.18363
Windows 10 (1903) 10.0.18362
Windows 10 (1809) 10.0.17763
Windows 10 (1803) 10.0.17134
Windows 10 (1709) 10.0.16299
Windows 10 (1703) 10.0.15063
Windows 10 (1607) 10.0.14393
Windows 10 (1511) 10.0.10586
Windows 10 10.0.10240
Windows 8 Windows 8.1 (Update 1) 6.3.9600
Windows 8.1 6.3.9200
Windows 8 6.2.9200
Windows 7 Windows 7 SP1 6.1.7601
Windows 7 6.1.7600
Windows Vista Windows Vista SP2 6.0.6002
Windows Vista SP1 6.0.6001
Windows Vista 6.0.6000
Windows XP Windows XP2 5.1.26003

1 Like