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

    public enum OperatingSystem
    {
        Windows,
        Linux,
        OSX,
        BSD
    }
}