摘要: using System.Net; public static void domain2ip() { try { IPHostEntry ipHostInfo = Dns.Resolve("www.163.com"); IPAddress myip = ipHostInfo.AddressList[0]; } catch (Exception e) { } } 阅读全文
posted @ 2012-01-11 08:51 柠檬绿松 阅读(818) 评论(0) 推荐(0) 编辑
View Code