IPHostEntry me = Dns.GetHostEntry(clientinfo.computername);foreach (IPAddress ip in me.AddressList){if (ip.AddressFamily == AddressFamily.InterNetwork){clientinfo.ip = ip.ToString();}
以上获取所有的ipv4地址,怎么修改能从ipv4地址中筛选出虚拟地址和真实地址,只要真实的ipv4地址
相关分类