22 lines
437 B
C#
22 lines
437 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace MediaBrowser.Model.System
|
|
{
|
|
public interface IEnvironmentInfo
|
|
{
|
|
OperatingSystem OperatingSystem { get; }
|
|
string OperatingSystemName { get; }
|
|
string OperatingSystemVersion { get; }
|
|
Architecture SystemArchitecture { get; }
|
|
}
|
|
|
|
public enum OperatingSystem
|
|
{
|
|
Windows,
|
|
Linux,
|
|
OSX,
|
|
BSD,
|
|
Android
|
|
}
|
|
}
|