diff options
Diffstat (limited to 'MediaBrowser.Model/System/IEnvironmentInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/System/IEnvironmentInfo.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/MediaBrowser.Model/System/IEnvironmentInfo.cs b/MediaBrowser.Model/System/IEnvironmentInfo.cs new file mode 100644 index 000000000..abe39fa03 --- /dev/null +++ b/MediaBrowser.Model/System/IEnvironmentInfo.cs @@ -0,0 +1,22 @@ + +namespace MediaBrowser.Model.System +{ + public interface IEnvironmentInfo + { + MediaBrowser.Model.System.OperatingSystem OperatingSystem { get; } + string OperatingSystemName { get; } + string OperatingSystemVersion { get; } + Architecture SystemArchitecture { get; } + string GetEnvironmentVariable(string name); + void SetProcessEnvironmentVariable(string name, string value); + string GetUserId(); + string StackTrace { get; } + } + + public enum OperatingSystem + { + Windows, + Linux, + OSX + } +} |
