Microsoft.DotNet.PlatformAbstractions.Platform public enum Platform Documentation Darwin = 3 Linux = 2 Unknown = 0 Windows = 1