2013-02-21 02:33:05 +01:00
|
|
|
|
using MediaBrowser.Model.Updates;
|
2013-09-20 02:53:18 +02:00
|
|
|
|
using System.Collections.Generic;
|
2013-02-21 02:33:05 +01:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.System
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class SystemInfo
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SystemInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the version.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The version.</value>
|
|
|
|
|
public string Version { get; set; }
|
|
|
|
|
|
2013-09-30 17:15:47 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the operating sytem.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The operating sytem.</value>
|
|
|
|
|
public string OperatingSystem { get; set; }
|
|
|
|
|
|
2013-08-16 16:18:09 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the mac address.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The mac address.</value>
|
|
|
|
|
public string MacAddress { get; set; }
|
|
|
|
|
|
2013-02-21 02:33:05 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance has pending restart.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance has pending restart; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool HasPendingRestart { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance is network deployed.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance is network deployed; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsNetworkDeployed { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the in progress installations.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The in progress installations.</value>
|
2013-09-20 02:53:18 +02:00
|
|
|
|
public List<InstallationInfo> InProgressInstallations { get; set; }
|
2013-02-21 02:33:05 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the web socket port number.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The web socket port number.</value>
|
|
|
|
|
public int WebSocketPortNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the completed installations.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The completed installations.</value>
|
2013-09-20 02:53:18 +02:00
|
|
|
|
public List<InstallationInfo> CompletedInstallations { get; set; }
|
2013-02-21 02:33:05 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether [supports native web socket].
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if [supports native web socket]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool SupportsNativeWebSocket { get; set; }
|
|
|
|
|
|
2013-10-07 16:38:31 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance can self restart.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance can self restart; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool CanSelfRestart { get; set; }
|
2013-10-07 18:22:19 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance can self update.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance can self update; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool CanSelfUpdate { get; set; }
|
|
|
|
|
|
2013-02-21 02:33:05 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets plugin assemblies that failed to load.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The failed assembly loads.</value>
|
2013-09-20 02:53:18 +02:00
|
|
|
|
public List<string> FailedPluginAssemblies { get; set; }
|
2013-03-15 05:23:07 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The id.</value>
|
2013-04-13 20:02:30 +02:00
|
|
|
|
public string Id { get; set; }
|
2013-04-21 03:17:59 +02:00
|
|
|
|
|
2013-06-02 05:17:10 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program data path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program data path.</value>
|
|
|
|
|
public string ProgramDataPath { get; set; }
|
2013-09-07 17:58:47 +02:00
|
|
|
|
|
2013-11-30 19:32:39 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the items by name path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The items by name path.</value>
|
|
|
|
|
public string ItemsByNamePath { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the log path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The log path.</value>
|
|
|
|
|
public string LogPath { get; set; }
|
|
|
|
|
|
2013-09-07 17:58:47 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the HTTP server port number.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The HTTP server port number.</value>
|
|
|
|
|
public int HttpServerPortNumber { get; set; }
|
|
|
|
|
|
2013-09-20 19:32:10 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="SystemInfo" /> class.
|
2013-04-21 03:17:59 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
public SystemInfo()
|
|
|
|
|
{
|
2013-09-20 02:53:18 +02:00
|
|
|
|
InProgressInstallations = new List<InstallationInfo>();
|
2013-04-21 03:17:59 +02:00
|
|
|
|
|
2013-09-20 02:53:18 +02:00
|
|
|
|
CompletedInstallations = new List<InstallationInfo>();
|
2013-04-21 03:17:59 +02:00
|
|
|
|
|
2013-09-20 02:53:18 +02:00
|
|
|
|
FailedPluginAssemblies = new List<string>();
|
2013-04-21 03:17:59 +02:00
|
|
|
|
}
|
2013-02-21 02:33:05 +01:00
|
|
|
|
}
|
|
|
|
|
}
|