Hi
How to get the ip address of a machine
thanks
asm
Printable View
Hi
How to get the ip address of a machine
thanks
asm
search the forum.. it has been posted loads of times.
Hi,Quote:
Originally Posted by asm
You can try this way to get your IP address;
VB Code:
Dim s As String = "" Dim addressList As System.Net.IPAddress() = Dns.GetHostByName(Dns.GetHostName()).AddressList Dim i As Integer For i = 0 To addressList.Length - 1 s += addressList(i).ToString() + ControlChars.Lf Next i textBox1.Text = s
Wkr,
sparrow1