2011-03-06 20:45:35 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Helpers
|
|
|
|
|
{
|
|
|
|
|
public static class ServerHelper
|
|
|
|
|
{
|
|
|
|
|
public static string GetServerHostname()
|
|
|
|
|
{
|
|
|
|
|
//Both these seem to return the same result... Is on better than the other?
|
|
|
|
|
return Environment.MachineName;
|
|
|
|
|
//return Dns.GetHostName();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-04-10 02:44:01 +00:00
|
|
|
|
}
|