IEnvironmentInfo.cs 597 B

1234567891011121314151617181920212223
  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. }
  15. public enum OperatingSystem
  16. {
  17. Windows,
  18. Linux,
  19. OSX,
  20. BSD
  21. }
  22. }