diff --git a/src/Tgstation.Server.Host/Core/PlatformIdentifier.cs b/src/Tgstation.Server.Host/Core/PlatformIdentifier.cs new file mode 100644 index 0000000000..fbed84baf9 --- /dev/null +++ b/src/Tgstation.Server.Host/Core/PlatformIdentifier.cs @@ -0,0 +1,19 @@ +using System.Runtime.InteropServices; + +namespace Tgstation.Server.Host.Core +{ + /// + sealed class PlatformIdentifier : IPlatformIdentifier + { + /// + public bool IsWindows { get; } + + /// + /// Construct a + /// + public PlatformIdentifier() + { + IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows); + } + } +}