using System.Net;
ArrayList arr = new ArrayList();
IPHostEntry host;
host = Dns.GetHostEntry("www.baidu.com");
foreach(IPAddress ip in host.AddressList)
{
arr.Add(ip.ToString());
}
/*------------------ ftp ---------------------*/
Uri u = new Uri(ftp://ftp.microsoft.com);
webBrowser1.Url = u;