2013-03-07 05:34:00 +00:00
|
|
|
|
using MediaBrowser.Common;
|
|
|
|
|
using MediaBrowser.Model.System;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller
|
|
|
|
|
{
|
2013-04-19 20:27:02 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IServerApplicationHost
|
|
|
|
|
/// </summary>
|
2013-03-07 05:34:00 +00:00
|
|
|
|
public interface IServerApplicationHost : IApplicationHost
|
|
|
|
|
{
|
2013-04-19 20:27:02 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the system info.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>SystemInfo.</returns>
|
2013-03-07 05:34:00 +00:00
|
|
|
|
SystemInfo GetSystemInfo();
|
2013-06-03 18:15:35 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name of the web application.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name of the web application.</value>
|
|
|
|
|
string WebApplicationName { get; }
|
|
|
|
|
|
2014-01-06 01:59:21 +00:00
|
|
|
|
/// <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; }
|
2014-03-17 04:25:11 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the HTTP server port.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The HTTP server port.</value>
|
|
|
|
|
int HttpServerPort { get; }
|
2013-03-07 05:34:00 +00:00
|
|
|
|
}
|
|
|
|
|
}
|