mohlal asked this 2 weeks ago

How to get the current IP address in VB.net

How can I get the current IP address on a VB.Net 2017 application?


Julia 2 weeks ago

This is how you get the IP address of localhost.

Dim strIPAddress As String = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList(0).ToString