diff --git a/src/Greenshot.Base/Core/WindowsVersion.cs b/src/Greenshot.Base/Core/WindowsVersion.cs index bf3af14ce..ca9e96d47 100644 --- a/src/Greenshot.Base/Core/WindowsVersion.cs +++ b/src/Greenshot.Base/Core/WindowsVersion.cs @@ -21,6 +21,12 @@ namespace Greenshot.Base.Core /// true if we are running on Windows 10 public static bool IsWindows10 { get; } = WinVersion.Major == 10; + /// + /// Test if the current OS is Windows 11 or later + /// + /// true if we are running on Windows 11 or later + public static bool IsWindows11OrLater { get; } = WinVersion.Major == 10 && WinVersion.Build >= 22000; + /// /// Test if the current OS is Windows 10 or later ///