36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using MediaBrowser.Common;
|
|
using MediaBrowser.Model.System;
|
|
|
|
namespace MediaBrowser.Controller
|
|
{
|
|
/// <summary>
|
|
/// Interface IServerApplicationHost
|
|
/// </summary>
|
|
public interface IServerApplicationHost : IApplicationHost
|
|
{
|
|
/// <summary>
|
|
/// Gets the system info.
|
|
/// </summary>
|
|
/// <returns>SystemInfo.</returns>
|
|
SystemInfo GetSystemInfo();
|
|
|
|
/// <summary>
|
|
/// Gets the name of the web application.
|
|
/// </summary>
|
|
/// <value>The name of the web application.</value>
|
|
string WebApplicationName { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether this instance is running as service.
|
|
/// </summary>
|
|
/// <value><c>true</c> if this instance is running as service; otherwise, <c>false</c>.</value>
|
|
bool IsRunningAsService { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether [supports automatic run at startup].
|
|
/// </summary>
|
|
/// <value><c>true</c> if [supports automatic run at startup]; otherwise, <c>false</c>.</value>
|
|
bool SupportsAutoRunAtStartup { get; }
|
|
}
|
|
}
|