IEnvironmentInfo.cs 633 B

123456789101112131415161718192021222324
  1. 
  2. namespace MediaBrowser.Model.System
  3. {
  4. public interface IEnvironmentInfo
  5. {
  6. MediaBrowser.Model.System.OperatingSystem OperatingSystem { get; }
  7. string OperatingSystemName { get; }
  8. string OperatingSystemVersion { get; }
  9. Architecture SystemArchitecture { get; }
  10. string GetEnvironmentVariable(string name);
  11. void SetProcessEnvironmentVariable(string name, string value);
  12. string GetUserId();
  13. string StackTrace { get; }
  14. char PathSeparator { get; }
  15. }
  16. public enum OperatingSystem
  17. {
  18. Windows,
  19. Linux,
  20. OSX,
  21. BSD
  22. }
  23. }