如何在Windows C#项目中获取我的确切位置,纬度和经度......? [英] How Do I Get My Exact Location, Latitude And Longitude In Windows C# Project…?

查看:134
本文介绍了如何在Windows C#项目中获取我的确切位置,纬度和经度......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Windows C#项目中获取我的确切位置,纬度和经度我已经尝试了很多API,但所有只显示城市名称而不是当前的确切地址...帮助我.. !!



事实上,所有的API都只提供城市名称和纬度,经度..但不是确切的地址....我想要我的ATM项目的确切地址





http://stackoverflow.com/q/21402803/133321 [ ^ ]

How do i get my exact location, latitude and longitude in windows C# project I have already tried many API's, but all are showing only the city name not the current exact address...HELP ME..!!

Infact, all the API's provide only the city name and latitude,longitude..but not the exact address....i Want the exact address for my ATM project


http://stackoverflow.com/q/21402803/133321[^]

推荐答案

你不能。



没有根据您的IP地址报告的位置与您所在的实际物理位置之间的链接 - 如果存在,则仅记录在您的ISP的数据库中。他们不太可能在没有法院命令的情况下向您提供任何进一步的信息,部分原因是它会违反各种国家隐私法,部分原因是为了防止您作为潜在的竞争对手了解其客户群。


从IP查找获得的位置是本地ISP访问点的地址。在大多数情况下,这甚至都没有修复,并且每次路由器连接时都会重新发出,因此每次请求信息时物理位置都会发生变化!



本地化用户的唯一方法是使用板载GPS设备或类似设备:大多数Windows安装都没有。
You can't.

There is no link between your location as reported from your IP address and the actual physical location you are at - or if there is, it is only recorded within the database of your ISP. They are very unlikely to give you any further info without a court order, partly because it would breach various national privacy laws, and partly to prevent you as a potential competitor knowing their customer base.

The location you get from an IP lookup is the address of the local ISP access point. In most cases this is not even fixed, and will get issued anew each time the router connects, so the physical location could have changed each time you request the information!

The only way to localise a user is to use an on board GPS device or similar: which most windows installations do not have.


这篇关于如何在Windows C#项目中获取我的确切位置,纬度和经度......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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