Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Greetings,

 

I have used the following code to get a remote machine's IP Address:

dim pc as string

dim hostaddress as ipaddress

 

pc = pcname.text

 

hostaddress = Dns.Resolve(pc).AddressList(0)

Now I want to convert this IP Address to String, how could I do that? I'm relatively new to this so any help would be appreciated.

 

Thanks.

  • 1 year later...
  • 2 weeks later...
Posted

What do I need to reference to use the code below?

 

 

dim pc as string

Dim hostaddress As ipaddress

pc = pcname.text

 

hostaddress = Dns.Resolve(pc).AddressList(0)

Go Beavs!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...