Skip to content

Commit

Permalink
Add GetWindowsBuildVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
liveans committed Jul 13, 2024
1 parent 025ad4e commit 4106394
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ internal static Version GetWindowsVersionObject()

internal static uint GetWindowsVersion() => (uint)GetWindowsVersionObject().Major;
internal static uint GetWindowsMinorVersion() => (uint)GetWindowsVersionObject().Minor;
internal static uint GetWindowsBuildVersion() => (uint)GetWindowsVersionObject().Build;

internal static bool IsWindowsVersionOrLater(int major, int minor, int build = -1)
{
Expand Down

0 comments on commit 4106394

Please sign in to comment.