2019-01-13 20:02:23 +00:00
|
|
|
using System.Runtime.InteropServices;
|
2019-01-01 15:27:11 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
namespace MediaBrowser.Model.System
|
|
|
|
{
|
|
|
|
public interface IEnvironmentInfo
|
|
|
|
{
|
2019-01-13 20:37:13 +00:00
|
|
|
OperatingSystem OperatingSystem { get; }
|
2018-12-27 23:27:57 +00:00
|
|
|
string OperatingSystemName { get; }
|
|
|
|
string OperatingSystemVersion { get; }
|
|
|
|
Architecture SystemArchitecture { get; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum OperatingSystem
|
|
|
|
{
|
|
|
|
Windows,
|
|
|
|
Linux,
|
|
|
|
OSX,
|
|
|
|
BSD,
|
|
|
|
Android
|
|
|
|
}
|
|
|
|
}
|