guruprakash asked this 7 years ago

How to get Current IP Address in VB.NET?

How to get current IP address of the host machine (localhost) in vb.net programming?


anette 7 years ago
3 likes

To get IP address of localhost

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