jellyfin-server/MediaBrowser.Model/System/IEnvironmentInfo.cs
2017-04-08 14:31:18 -04:00

25 lines
633 B
C#

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
}
}