(Jul 27, 2015 03:51 AM)ninen2001 Wrote: So I wanted to try to use freegeoip.com and get the info from the IP entered in my application and add it to a listbox. The source code of the info from freegoip.com is basically
There is an alternative method you can use for getting information about the IP address that is entered in your application.
Code
Private Sub button1_Click(sender As System.Object, e As System.EventArgs) Handles button1.Click
WebRequest.Create("htt p://api.predator.wtf/ip2loc/?arguments=" + txt1.Text)
listbox1.additem = New System.Net.WebClient().DownloadString("htt p://api.predator.wtf/ip2loc/?arguments=" + txt1.Text)
End Subtextbox1 would have the ip address you want to resolve
listbox1 would then display the results, you can use a textbox instead.
