string myHost = System.Net.Dns.GetHostName(); System.Net.IPHostEntry myIPs = System.Net.Dns.GetHostEntry(myHost); foreach (System.Net.IPAddress myIP in myIPs.AddressList) { TextBox1.Text = myIP.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)