ElektroStudios
ElektroStudios

Reputation: 20464

IP GeoLocation in VB

How I can geolocate an IP in VBNET?

I want to know the city and country of an IP (better if I can get more dates but I only need that two)

I can do it with any Class? or I need to found a good service to send Post data? in that case, can give a easy service to send/receive the data?

Any example of how to do this using a web API or Classes please?

PS: For VB.NET

Thanks

Upvotes: 0

Views: 2052

Answers (1)

Andrey
Andrey

Reputation: 60065

There is no class that will do that for you. It is too high level task and too specific at the same time. You can choose either of approaches:

  1. Have a local database and just query it. Like this.
  2. Use online service, there are lots of them. Some may have API, some will require raw HTTP requests.

Upvotes: 1

Related Questions