Monday, October 6, 2008

Get Host by IP adress

Get Host by IP adress

 string IPAdress = "127.0.0.1";
IPHostEntry IPHostEntryObject = Dns.GetHostEntry(IPAdress);
Console.WriteLine(IPHostEntryObject.HostName)

No comments: