aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/System/IEnvironmentInfo.cs
blob: 8cf25a365f34fa70711ff6a4be7e00f78c8fa200 (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 StackTrace { get; }
        char PathSeparator { get; }
    }

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