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