string webaddress= "www.codeproject.com"; IPAddress[] ips = Dns.GetHostAddresses(webaddress); foreach (IPAddress ip in ips) { Console.WriteLine(ip.ToString()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)