RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ... RuntimeInformation.IsOSPlatform(OSPlatform.Windows)