IPHostEntry me = Dns.GetHostEntry(clientinfo.computername);foreach (IPAddress ip in me.AddressList){if (ip.AddressFamily == AddressFamily.InterNetwork){clientinfo.ip = ip.ToString();}以上获取所有的ipv4地址,怎么修改能从ipv4地址中筛选出虚拟地址和真实地址,只要真实的ipv4地址
1 回答
- 1 回答
- 0 关注
- 843 浏览
添加回答
举报
0/150
提交
取消