aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/Native/NativeApp.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/NativeApp.cs')
-rw-r--r--MediaBrowser.ServerApplication/Native/NativeApp.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/Native/NativeApp.cs b/MediaBrowser.ServerApplication/Native/NativeApp.cs
index ea4218afc..0e114b166 100644
--- a/MediaBrowser.ServerApplication/Native/NativeApp.cs
+++ b/MediaBrowser.ServerApplication/Native/NativeApp.cs
@@ -21,5 +21,17 @@ namespace MediaBrowser.ServerApplication.Native
{
MainStartup.Restart();
}
+
+ /// <summary>
+ /// Determines whether this instance [can self restart].
+ /// </summary>
+ /// <returns><c>true</c> if this instance [can self restart]; otherwise, <c>false</c>.</returns>
+ public static bool CanSelfRestart
+ {
+ get
+ {
+ return MainStartup.CanSelfRestart;
+ }
+ }
}
}