diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-03-07 17:39:40 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-03-07 22:41:41 +0100 |
| commit | decaffed86cbc5db99c3f79d266fdfcdd262c12d (patch) | |
| tree | 08536d848eb524f5718c864051b0eb41ec8471f8 /MediaBrowser.Model/System | |
| parent | 669c48cc8bd6b9023d54a38c8e8b7f4120cb7368 (diff) | |
Remove EnvironmentInfo
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
Diffstat (limited to 'MediaBrowser.Model/System')
| -rw-r--r-- | MediaBrowser.Model/System/IEnvironmentInfo.cs | 21 | ||||
| -rw-r--r-- | MediaBrowser.Model/System/OperatingSystemId.cs | 10 |
2 files changed, 10 insertions, 21 deletions
diff --git a/MediaBrowser.Model/System/IEnvironmentInfo.cs b/MediaBrowser.Model/System/IEnvironmentInfo.cs deleted file mode 100644 index 3ffcc7de1..000000000 --- a/MediaBrowser.Model/System/IEnvironmentInfo.cs +++ /dev/null @@ -1,21 +0,0 @@ -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 - } -} diff --git a/MediaBrowser.Model/System/OperatingSystemId.cs b/MediaBrowser.Model/System/OperatingSystemId.cs new file mode 100644 index 000000000..e81dd4213 --- /dev/null +++ b/MediaBrowser.Model/System/OperatingSystemId.cs @@ -0,0 +1,10 @@ +namespace MediaBrowser.Model.System +{ + public enum OperatingSystemId + { + Windows, + Linux, + Darwin, + BSD + } +} |
