获取本机IP
摘要:
string ip = Dns.GetHostEntry(Dns.GetHostName()).AddressList.FirstOrDefault<IPAddress>(a => a.AddressFamily.ToString().Equals("InterNetwork")).ToString 阅读全文
posted @ 2017-11-03 16:54 YellowCool 阅读(166) 评论(0) 推荐(0) 编辑