Dns.GetHostEntry(Dns.GetHostName()).AddressList.FirstOrDefault<IPAddress>(a => a.AddressFamily.ToString().Equals("InterNetwork")).ToString()
Dns.GetHostEntry(Dns.GetHostName()).AddressList.FirstOrDefault<IPAddress>(a => a.AddressFamily.ToString().Equals(
"InterNetwork"
)).ToString()
posted on 2016-09-29 16:18 路人甲zzz 阅读(134) 评论(0) 编辑 收藏 举报