摘要:
//1 获取IP地址string hostname = Dns.GetHostName(); System.Net.IPHostEntry ipEntry = Dns.GetHostEntry(hostname); if (ipEntry.AddressList != null) { foreach (var ip in ipEntry.AddressList) { if (ip.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) { this.listBox1.Items.Add(ip.ToString()); }. 阅读全文
浙公网安备 33010602011771号