Added IAppHost.Name

This commit is contained in:
Luke Pulverenti
2014-01-25 16:07:19 -05:00
parent 51954a283f
commit ac8ffb8db0
3 changed files with 25 additions and 1 deletions

View File

@@ -185,6 +185,18 @@ namespace MediaBrowser.ServerApplication
}
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public override string Name
{
get
{
return "Media Browser Server";
}
}
/// <summary>
/// Gets a value indicating whether this instance can self restart.
/// </summary>
@@ -732,7 +744,7 @@ namespace MediaBrowser.ServerApplication
{
ServerAuthorization.AuthorizeServer(
ServerConfigurationManager.Configuration.HttpServerPortNumber,
HttpServerUrlPrefixes.First(),
HttpServerUrlPrefixes.First(),
ServerConfigurationManager.Configuration.LegacyWebSocketPortNumber,
UdpServerEntryPoint.PortNumber,
ConfigurationManager.CommonApplicationPaths.TempDirectory);