aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/System/IEnvironmentInfo.cs
blob: 2c57df97ca267ff2651586c43c3448cf4d1d66bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,
        BSD
    }
}