public static string ResolveComputerName(string IPaddress)
{
return System.Net.Dns.GetHostEntry(IPaddress).HostName;
}
Thursday, 31 May 2007
Resolving DNS computer name
I needed to resolve computer name from the client IP address. So if you ever need this you can use the code bellow. It is really easy.
Subscribe to:
Posts (Atom)