From 1a80362a0f04c3cc571456af64f9de19c0c30d2a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 9 Nov 2014 13:24:57 -0500 Subject: created common startup project for mono & windows --- .../NativeEnvironment.cs | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 MediaBrowser.Server.Startup.Common/NativeEnvironment.cs (limited to 'MediaBrowser.Server.Startup.Common/NativeEnvironment.cs') diff --git a/MediaBrowser.Server.Startup.Common/NativeEnvironment.cs b/MediaBrowser.Server.Startup.Common/NativeEnvironment.cs new file mode 100644 index 0000000000..df9dacb4c0 --- /dev/null +++ b/MediaBrowser.Server.Startup.Common/NativeEnvironment.cs @@ -0,0 +1,24 @@ + +namespace MediaBrowser.Server.Startup.Common +{ + public class NativeEnvironment + { + public OperatingSystem OperatingSystem { get; set; } + public Architecture SystemArchitecture { get; set; } + } + + public enum OperatingSystem + { + Windows = 0, + Osx = 1, + Bsd = 2, + Linux = 3 + } + + public enum Architecture + { + X86 = 0, + X86_X64 = 1, + Arm = 2 + } +} -- cgit v1.2.3