@H_403_1@
DimhostInfoAsSystem.Net.IPHostEntry=System.Net.Dns.GetHostByName(TextBox1.Text)
MessageBox.Show(hostInfo.AddressList(0).ToString,"主机地址",MessageBoxButtons.OK,MessageBoxIcon.Exclamation)
'从域名到IP地址的转换
DimmyIPAsSystem.Net.IPAddress=System.Net.IPAddress.Parse(TextBox2.Text)
DimhostInfoAsSystem.Net.IPHostEntry=System.Net.Dns.GetHostByAddress(myIP)
MessageBox.Show(hostInfo.HostName.ToString,"主机域名",MessageBoxIcon.Exclamation)
'从IP地址到域名的转换()