2013-02-21 01:33:05 +00:00
|
|
|
|
using MediaBrowser.Model.Updates;
|
2013-09-20 00:53:18 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.System
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class SystemInfo
|
|
|
|
|
/// </summary>
|
2014-07-27 22:01:29 +00:00
|
|
|
|
public class SystemInfo : PublicSystemInfo
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
2016-09-05 05:39:14 +00:00
|
|
|
|
public PackageVersionClass SystemUpdateLevel { get; set; }
|
|
|
|
|
|
2015-07-27 16:21:18 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the display name of the operating system.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The display name of the operating system.</value>
|
|
|
|
|
public string OperatingSystemDisplayName { get; set; }
|
2014-01-30 00:18:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance is running as service.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance is running as service; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsRunningAsService { get; set; }
|
|
|
|
|
|
2014-09-09 01:15:31 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether [supports running as service].
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if [supports running as service]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool SupportsRunningAsService { get; set; }
|
2015-09-05 17:19:13 +00:00
|
|
|
|
|
2013-08-16 14:18:09 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the mac address.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The mac address.</value>
|
|
|
|
|
public string MacAddress { get; set; }
|
|
|
|
|
|
2016-10-06 18:55:01 +00:00
|
|
|
|
public string PackageName { get; set; }
|
|
|
|
|
|
2013-02-21 01:33:05 +00: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; }
|
|
|
|
|
|
2015-02-04 19:13:00 +00:00
|
|
|
|
/// <summary>
|
2015-10-03 18:13:53 +00:00
|
|
|
|
/// Gets or sets a value indicating whether [supports library monitor].
|
2015-02-04 19:13:00 +00:00
|
|
|
|
/// </summary>
|
2015-10-03 18:13:53 +00:00
|
|
|
|
/// <value><c>true</c> if [supports library monitor]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool SupportsLibraryMonitor { get; set; }
|
2015-11-12 19:49:19 +00:00
|
|
|
|
|
2013-02-21 01:33:05 +00:00
|
|
|
|
/// <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 00:53:18 +00:00
|
|
|
|
public List<InstallationInfo> InProgressInstallations { get; set; }
|
2013-02-21 01:33:05 +00: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 00:53:18 +00:00
|
|
|
|
public List<InstallationInfo> CompletedInstallations { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
2013-10-07 14:38:31 +00: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 16:22:19 +00: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 01:33:05 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets plugin assemblies that failed to load.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The failed assembly loads.</value>
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<string> FailedPluginAssemblies { get; set; }
|
2013-03-15 04:23:07 +00:00
|
|
|
|
|
2013-06-02 03:17:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program data path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program data path.</value>
|
|
|
|
|
public string ProgramDataPath { get; set; }
|
2013-09-07 15:58:47 +00:00
|
|
|
|
|
2013-11-30 18:32:39 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the items by name path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The items by name path.</value>
|
|
|
|
|
public string ItemsByNamePath { get; set; }
|
|
|
|
|
|
2013-12-15 01:17:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the cache path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The cache path.</value>
|
|
|
|
|
public string CachePath { get; set; }
|
2015-09-05 17:19:13 +00:00
|
|
|
|
|
2013-11-30 18:32:39 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the log path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The log path.</value>
|
|
|
|
|
public string LogPath { get; set; }
|
2014-01-18 19:25:20 +00:00
|
|
|
|
|
2014-03-31 21:04:22 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the internal metadata path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The internal metadata path.</value>
|
|
|
|
|
public string InternalMetadataPath { get; set; }
|
2015-09-05 17:19:13 +00:00
|
|
|
|
|
2014-01-18 19:25:20 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the transcoding temporary path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The transcoding temporary path.</value>
|
|
|
|
|
public string TranscodingTempPath { get; set; }
|
|
|
|
|
|
2013-09-07 15:58:47 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the HTTP server port number.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The HTTP server port number.</value>
|
|
|
|
|
public int HttpServerPortNumber { get; set; }
|
|
|
|
|
|
2015-01-19 04:29:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether [enable HTTPS].
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if [enable HTTPS]; otherwise, <c>false</c>.</value>
|
2015-01-19 21:08:58 +00:00
|
|
|
|
public bool SupportsHttps { get; set; }
|
2015-01-19 00:54:13 +00:00
|
|
|
|
|
2015-01-07 03:36:42 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the HTTPS server port number.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The HTTPS server port number.</value>
|
|
|
|
|
public int HttpsPortNumber { get; set; }
|
|
|
|
|
|
2014-01-05 06:50:48 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance has update available.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool HasUpdateAvailable { get; set; }
|
|
|
|
|
|
2014-01-06 01:59:21 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets 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>
|
|
|
|
|
public bool SupportsAutoRunAtStartup { get; set; }
|
|
|
|
|
|
2016-06-29 05:49:31 +00:00
|
|
|
|
public string EncoderLocationType { get; set; }
|
2016-06-20 06:19:28 +00:00
|
|
|
|
|
2016-06-23 17:04:18 +00:00
|
|
|
|
public Architecture SystemArchitecture { get; set; }
|
|
|
|
|
|
2013-09-20 17:32:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="SystemInfo" /> class.
|
2013-04-21 01:17:59 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
public SystemInfo()
|
|
|
|
|
{
|
2013-09-20 00:53:18 +00:00
|
|
|
|
InProgressInstallations = new List<InstallationInfo>();
|
2013-04-21 01:17:59 +00:00
|
|
|
|
|
2013-09-20 00:53:18 +00:00
|
|
|
|
CompletedInstallations = new List<InstallationInfo>();
|
2013-04-21 01:17:59 +00:00
|
|
|
|
|
2013-09-20 00:53:18 +00:00
|
|
|
|
FailedPluginAssemblies = new List<string>();
|
2013-04-21 01:17:59 +00:00
|
|
|
|
}
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|