2016-11-04 12:51:59 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.System
|
|
|
|
|
{
|
|
|
|
|
public interface IEnvironmentInfo
|
|
|
|
|
{
|
|
|
|
|
MediaBrowser.Model.System.OperatingSystem OperatingSystem { get; }
|
|
|
|
|
string OperatingSystemName { get; }
|
|
|
|
|
string OperatingSystemVersion { get; }
|
2016-11-11 01:13:11 -07:00
|
|
|
|
Architecture SystemArchitecture { get; }
|
2016-11-13 14:04:21 -07:00
|
|
|
|
string GetEnvironmentVariable(string name);
|
|
|
|
|
string GetUserId();
|
2016-11-21 01:54:53 -07:00
|
|
|
|
string StackTrace { get; }
|
2016-11-04 12:51:59 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum OperatingSystem
|
|
|
|
|
{
|
|
|
|
|
Windows,
|
|
|
|
|
Linux,
|
|
|
|
|
OSX
|
|
|
|
|
}
|
|
|
|
|
}
|