using MediaBrowser.Common;
using MediaBrowser.Model.System;
using System;
using System.Collections.Generic;
namespace MediaBrowser.Controller
{
///
/// Interface IServerApplicationHost
///
public interface IServerApplicationHost : IApplicationHost
{
event EventHandler HasUpdateAvailableChanged;
///
/// Gets the system info.
///
/// SystemInfo.
SystemInfo GetSystemInfo();
///
/// Gets a value indicating whether [supports automatic run at startup].
///
/// true if [supports automatic run at startup]; otherwise, false.
bool SupportsAutoRunAtStartup { get; }
///
/// Gets the HTTP server port.
///
/// The HTTP server port.
int HttpPort { get; }
///
/// Gets the HTTPS port.
///
/// The HTTPS port.
int HttpsPort { get; }
///
/// Gets a value indicating whether [supports HTTPS].
///
/// true if [supports HTTPS]; otherwise, false.
bool EnableHttps { get; }
///
/// Gets a value indicating whether this instance has update available.
///
/// true if this instance has update available; otherwise, false.
bool HasUpdateAvailable { get; }
///
/// Gets the name of the friendly.
///
/// The name of the friendly.
string FriendlyName { get; }
///
/// Gets the HTTP server ip addresses.
///
/// The HTTP server ip addresses.
IEnumerable HttpServerIpAddresses { get; }
}
}