private static Application StartApplication() { if (WindowsVersion.IsWindows10()) { // Use the store application on those systems return(Application.LaunchStoreApp("Microsoft.WindowsCalculator_8wekyb3d8bbwe!App")); } if (WindowsVersion.IsWindowsServer2016()) { // The calc.exe on this system is just a stub which launches win32calc.exe return(Application.Launch("win32calc.exe")); } return(Application.Launch("calc.exe")); }