SharpCompress/tests/SharpCompress.Test/OperatingSystemExtensions.cs
2024-04-23 08:52:10 +01:00

8 lines
270 B
C#

using System;
namespace SharpCompress.Test;
public static class OperatingSystemExtensions
{
public static bool IsWindows(this OperatingSystem os) => os.Platform == PlatformID.Win32NT || os.Platform == PlatformID.Win32Windows || os.Platform == PlatformID.Win32S;
}