jellyfin-server/MediaBrowser.Model/System/IEnvironmentInfo.cs

24 lines
597 B
C#
Raw Normal View History

2016-11-29 19:13:20 +00:00

2016-11-04 19:51:59 +00:00
namespace MediaBrowser.Model.System
{
public interface IEnvironmentInfo
{
MediaBrowser.Model.System.OperatingSystem OperatingSystem { get; }
string OperatingSystemName { get; }
string OperatingSystemVersion { get; }
2016-11-11 08:13:11 +00:00
Architecture SystemArchitecture { get; }
2016-11-13 21:04:21 +00:00
string GetEnvironmentVariable(string name);
2016-11-29 19:13:20 +00:00
void SetProcessEnvironmentVariable(string name, string value);
2016-11-13 21:04:21 +00:00
string GetUserId();
2016-11-21 08:54:53 +00:00
string StackTrace { get; }
2016-11-04 19:51:59 +00:00
}
public enum OperatingSystem
{
Windows,
Linux,
2017-02-07 08:23:45 +00:00
OSX,
BSD
2016-11-04 19:51:59 +00:00
}
}