1.?
2.使用System.Net名字空间,IPHostEntry类的AddressList方法和IPAddress类,  Dns.GetHostByName方法