Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Website To Ip VB.NET + Source!

Can you explain what you have done here? Do you understand the functionality of the dns class and net namespace?

edit: Lol OP viewed his thread, then viewd my reputation, then reported my post, i think.
(Mar 16, 2015 11:58 AM)TheFullyFledged Wrote:  No thats my friend he stole my program and posted it i'm trying to get him to take it down!

Your font is hard to read and your friend and you both posted the same snippet of code and it appears neither of you understand what it does.

Dim Hostname As IPHostEntry = Dns.GetHostByName(TextBox1.Text)
Dim ip As IPAddress() = Hostname.AddressList
TextBox2.Text = ip(0).ToString

Also you only returned a single address from the host.
(Mar 16, 2015 12:14 PM)TheFullyFledged Wrote:  Im still learning but thanks for the feedback

Then learn what you are doing.

You are using System.Net
You are using IPHostentry class, it's very simple.
You used the IPaddress class, you can get IP6 as well as IP4 however you only get one. "ip(0)"


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by rweed1Feb 5, 2015 04:27 PM 10 839 Feb 5, 2015 04:27 PM
Last Post: SIM-1456245
[.NET] by Marcusramse1Jun 7, 2013 09:01 AM 17 1,950 Jun 7, 2013 09:01 AM
Last Post: SMOKEFiSH
[.NET] by PsychotiicJan 30, 2013 03:32 PM 22 2,530 Jan 30, 2013 03:32 PM
Last Post: Xylon