try
{
//performs the DNS lookup
IPHostEntry he = Dns.GetHostByName(domain);
IPAddress[] ip_addrs = he.AddressList;
txtIPs.Text = "";
foreach (IPAddress ip in ip_addrs)
{
IPs.Text += ip + "\n";
}
}
catch (System.Exception ex)
{
TextBox.text = ex.ToString();
}
Author:
Aamir Hasan औथोर:
आमिर हसन أثر
أمير حسن .
f2e1ddf8-84cb-454c-bece-1a0bc29f1dea|0|.0
ALL, asp.net, asp.net 4.0, CSharp, Network