IEnvironmentInfo.cs 437 B

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