#156 - Allow server to run as a service

pull/702/head
Luke Pulverenti 11 years ago
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…
Cancel
Save