1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
using System.Runtime.InteropServices; namespace MediaBrowser.Model.System { public interface IEnvironmentInfo { OperatingSystem OperatingSystem { get; } string OperatingSystemName { get; } string OperatingSystemVersion { get; } Architecture SystemArchitecture { get; } } public enum OperatingSystem { Windows, Linux, OSX, BSD, Android } }