public string GetComputerName(string clientIP) { try { var hostEntry = Dns.GetHostEntry(clientIP); return hostEntry.HostName; } catch (Exception ex) { return string.Empty; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)