Files
sharpcompress/tests/SharpCompress.Test/OperatingSystemExtensions.cs
Adam Hathcock c4597fd156 fix spacing
2025-10-14 13:33:08 +01:00

12 lines
294 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;
}