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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top