mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
23 lines
584 B
C#
23 lines
584 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; }
|
|
}
|
|
|
|
public enum OperatingSystem
|
|
{
|
|
Windows,
|
|
Linux,
|
|
OSX
|
|
}
|
|
}
|