用户位置从IP中查找 [英] User location find out from IP

查看:95
本文介绍了用户位置从IP中查找的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,



我们如何知道未知的用户位置从Asp.net的Ip中找到?

解决方案

您可以使用地理定位服务 [ ^ ] - 但要注意它不准确,甚至不准确。由于IP地址是由ISP在大多数情况下发布的,因此它们不一定反映客户端的物理位置,而是反映ISP的物理位置。我的知识产权已经知道会回到几百英里以外的不同国家,并且从未超过50英里 - 这取决于客户和ISP的位置。






查看以下链接:

轻松跟踪基于IP地址的地理位置 [ ^ ]



http://stackoverflow.com/questions/2620932/get-users-ip-address [ ^ ]


查看以下链接:



HTTP: //www.dotnetcurry.com/ShowArticle.aspx?ID=325 [ ^ ]



http ://code.msdn.microsoft.com/CSASPNETIPtoLocation-2f03490c [ ^ ]

Dear Sir,

How we can unknown user location find out from Ip in Asp.net?

解决方案

You can use a Geolocation service[^] - but be aware that it will not be precise, or indeed even accurate. Since IP addresses are issued by ISPs in the majority of cases they do not necessarily reflect the physical location of the client, but of the ISP instead. My IP has been know to come back in a different country several hundred miles away, and has never been closer than 50 miles - it depends on where the client and the ISP are.


Hi,

Check these link :
Easy to Track the Geographical Location Based on IP Address[^]

http://stackoverflow.com/questions/2620932/get-users-ip-address[^]


Look at the following links:

http://www.dotnetcurry.com/ShowArticle.aspx?ID=325[^]

http://code.msdn.microsoft.com/CSASPNETIPtoLocation-2f03490c[^]


这篇关于用户位置从IP中查找的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆