You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
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 StackTrace { get; }
|
|
|
|
|
char PathSeparator { get; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum OperatingSystem
|
|
|
|
|
{
|
|
|
|
|
Windows,
|
|
|
|
|
Linux,
|
|
|
|
|
OSX,
|
|
|
|
|
BSD,
|
|
|
|
|
Android
|
|
|
|
|
}
|
|
|
|
|
}
|