如何获取asp.net中的位置主机等ip详细信息.. [英] How to get ip details like location host etc in asp.net..
本文介绍了如何获取asp.net中的位置主机等ip详细信息..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将我的网站访问者的ip日志存储到数据库。
现在在管理员方面我将最后20个IP地址绑定到gridview。
现在在ip上点击我想显示ip的详细信息,如位置和所有细节..
我怎样才能实现这个目标?是否有任何免费服务
解决方案
是。
您可以使用请求对象和SERVERVARIABLES属性。
SERVERVARIABLES
I am storing ip log of my website visitors to database.
Now in admin side i am binding last top 20 ip address to gridview.
Now on ip click i want to show details of ip like location and all details..
How can i achieved this ? Is there any free services to do this
解决方案
Yes.
You can use the request object and the SERVERVARIABLES property.
SERVERVARIABLES
这篇关于如何获取asp.net中的位置主机等ip详细信息..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文