aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/System/IEnvironmentInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/System/IEnvironmentInfo.cs')
-rw-r--r--MediaBrowser.Model/System/IEnvironmentInfo.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/MediaBrowser.Model/System/IEnvironmentInfo.cs b/MediaBrowser.Model/System/IEnvironmentInfo.cs
new file mode 100644
index 000000000..8cf25a365
--- /dev/null
+++ b/MediaBrowser.Model/System/IEnvironmentInfo.cs
@@ -0,0 +1,24 @@
+
+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
+ }
+}