WindowsBuildVersion class

Windows build numbers and versions.

Whenever a newer Windows build is available then listed here, just instantiate the wanted build version with the data from here. Format the build number as patch version of the semantic version.

Constructors

WindowsBuildVersion(int build, Version version)
Creates an instance of WindowsBuildVersion with a specific build number and its corresponding Windows OS version.
const

Properties

build int
The Windows build number.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version Version
The corresponding Windows operating system version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

server2016 → const WindowsBuildVersion
Windows Server 2016 (Build 14393)
server2019 → const WindowsBuildVersion
Windows Server 2019 (Build 17763)
server2022 → const WindowsBuildVersion
Windows Server 2022 (Build 20348)
server2025 → const WindowsBuildVersion
Windows Server 2025 (Build 26100)
win10_22H2 → const WindowsBuildVersion
Windows 10 2022 Update (Build 19045)
win11_21H2 → const WindowsBuildVersion
Windows 11 (Build 22000)
win11_22H2 → const WindowsBuildVersion
Windows 11 2022 Update (Build 22621)
win11_23H2 → const WindowsBuildVersion
Windows 11 2023 Update (Build 22631)
win11_24H2 → const WindowsBuildVersion
Windows 11 2024 Update (Build 26100)