#156 - Allow server to run as a service
This commit is contained in:
parent
29fd559f0a
commit
d564dd6786
|
@ -14,6 +14,12 @@ namespace MediaBrowser.Model.System
|
|||
/// <value>The version.</value>
|
||||
public string Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the operating sytem.
|
||||
/// </summary>
|
||||
/// <value>The operating sytem.</value>
|
||||
public string OperatingSystem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the mac address.
|
||||
/// </summary>
|
||||
|
|
|
@ -582,7 +582,8 @@ namespace MediaBrowser.ServerApplication
|
|||
Id = _systemId,
|
||||
ProgramDataPath = ApplicationPaths.ProgramDataPath,
|
||||
MacAddress = GetMacAddress(),
|
||||
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber
|
||||
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber,
|
||||
OperatingSystem = Environment.OSVersion.ToString()
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user