Skip to content

Commit

Permalink
It's now october...
Browse files Browse the repository at this point in the history
  • Loading branch information
clairernovotny committed Oct 13, 2020
1 parent 15f2439 commit 8fc38c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OSVersionHelper/Windows10Release.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public enum Windows10Release
/// <summary>
/// 10.0.19042.0 (20H02)
/// </summary>
September2020 = 2009
October2020 = 2010

}
}
6 changes: 3 additions & 3 deletions OSVersionHelper/WindowsVersionHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static WindowsVersionHelper()
{
if (IsApiContractPresent(11))
{
Windows10Release = Windows10Release.September2020;
Windows10Release = Windows10Release.October2020;
} else if (IsApiContractPresent(10))
{
Windows10Release = Windows10Release.May2020;
Expand Down Expand Up @@ -87,9 +87,9 @@ static WindowsVersionHelper()


/// <summary>
/// Gets a value indicating whether the current OS is Windows 10 September 2020 Update (20H02) or greater
/// Gets a value indicating whether the current OS is Windows 10 October 2020 Update (20H02) or greater
/// </summary>
public static bool IsWindows10September2020OrGreater => IsWindows10 && Windows10Release >= Windows10Release.September2020;
public static bool IsWindows10October2020OrGreater => IsWindows10 && Windows10Release >= Windows10Release.October2020;

/// <summary>
/// Gets a value indicating whether the current OS is Windows 10 May 2020 Update (20H01) or greater
Expand Down

0 comments on commit 8fc38c6

Please sign in to comment.