How can I obtain the IP address of the machine that my VB app is running on?

  • Thread starter Thread starter Ed Willis
  • Start date Start date
Hi Ed,

Dim myWorkstation As String = System.Net.Dns.GetHostName()
Dim IPAdress As String = _
System.Net.Dns.Resolve(myWorkstation).AddressList(0).ToString

Cor
 
Back
Top