Added the Win10 plugin to the Greenshot installer.

This commit is contained in:
Robin 2016-10-02 16:08:22 +02:00
parent cab0f21e26
commit f2649a1feb
7 changed files with 59 additions and 10 deletions

View file

@ -38,6 +38,16 @@ namespace GreenshotPlugin.Core
return operatingSystem.Version.Major == 10;
}
/// <summary>
/// Test if the current OS is Windows 10 or later
/// </summary>
/// <param name="operatingSystem">OperatingSystem from Environment.OSVersion</param>
/// <returns>true if we are running on Windows 10 or later</returns>
public static bool IsWindows10OrLater(this OperatingSystem operatingSystem)
{
return operatingSystem.Version.Major >= 10;
}
/// <summary>
/// Test if the current OS is Windows 8(.1)
/// </summary>