我怎样才能获得访问者的IP地址和使用C#MVC 5的位置 [英] How can I got visitors IP address & location using C# MVC 5
本文介绍了我怎样才能获得访问者的IP地址和使用C#MVC 5的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
我如何才能获得访问者IP地址&位置使用C#MVC 5
我的网站
谢谢!
我尝试过:
我如何才能获得访问者IP地址&位置使用C#MVC 5
Hello
How can i got visitors IP Address & Location Using C# MVC 5
for my Website
Thank You!
What I have tried:
How can i got visitors IP Address & Location Using C# MVC 5
推荐答案
不信任基于IP的地理定位:使用基于IP的地理位置 - 以及为什么它几乎没用。 [ ^ ] - 它很容易使用,但它不是很准确无误。该链接提供的代码将以任何形式的C#检索数据。
Don't trust IP based Geolocation: Using IP based Geolocation - and why it's pretty much useless.[^] - it's easy to use, but it's not very accurate at all. The link gives code that will retrieve the data in any form of C#.
这篇关于我怎样才能获得访问者的IP地址和使用C#MVC 5的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文