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 the name of the web application.
///
/// The name of the web application.
string WebApplicationName { get; }
///
/// 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 HttpServerPort { get; }
///
/// Gets the HTTPS server port.
///
/// The HTTPS server port.
int HttpsServerPort { get; }
///
/// Gets the value indiciating if an https port should be hosted.
///
///
/// The value indiciating if an https port should be hosted.
///
bool UseHttps { get; }
///
/// Gets the value pointing to the file system where the ssl certiifcate is located.
///
///
/// The value pointing to the file system where the ssl certiifcate is located.
///
string CertificatePath { 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; }
}
}