VB中的IP地理位置 [英] IP GeoLocation in VB
问题描述
我如何在VBNET中定位IP地址?
How I can geolocate an IP in VBNET?
我想知道IP的城市和国家(如果我可以获得更多日期,但只需要那两个)
I want to know the city and country of an IP (better if I can get more dates but I only need that two)
我可以用任何Class来做到这一点吗?或者我需要找到一个很好的服务来发送发布数据?在这种情况下,可以给一个简单的服务来发送/接收数据?
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?
任何如何使用web API或类请执行此操作的示例?
Any example of how to do this using a web API or Classes please?
PS:For VB.NET
PS: For VB.NET
谢谢
Thanks
推荐答案
没有课程会为你做。这是太高层次的任务,同时也太具体。您可以选择以下任何一种方法:
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:
- 拥有本地数据库并只需查询它。 像这样。
- 使用在线服务,那里他们很多。有些可能有API,有些需要原始HTTP请求。
这篇关于VB中的IP地理位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!