mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
14 lines
No EOL
343 B
C#
14 lines
No EOL
343 B
C#
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();
|
|
}
|
|
}
|
|
} |