guruprakash asked this 3 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 3 years ago
2 likes

To get IP address of localhost

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