27 lines
629 B
C#
27 lines
629 B
C#
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; }
|
|
Architecture SystemArchitecture { get; }
|
|
string GetEnvironmentVariable(string name);
|
|
string GetUserId();
|
|
string StackTrace { get; }
|
|
}
|
|
|
|
public enum OperatingSystem
|
|
{
|
|
Windows,
|
|
Linux,
|
|
OSX
|
|
}
|
|
}
|