internal static bool GuessWhetherHostIsLoopback(string host) { string hostLower = host.ToLowerInvariant(); if (hostLower == "localhost" || hostLower == "loopback") { return true; } return false; }