How can I use HTML5 geolocation in C# application

前端 未结 4 1419
情书的邮戳
情书的邮戳 2021-02-05 08:05

I\'m developing an anti-theft software to get computers exact location. Notebooks with built-in gps are very rare in my country so I have to use HTML5 Geolocation in my applicat

4条回答
  •  粉色の甜心
    2021-02-05 08:51

    Relying on a hidden browser is a risky solution, and it will inevitably break at some point in the future.

    Instead you want to build geolocation functionality into your own application. The two major sources of location info are your IP address (which you then feed into any of the GeoIP providers) and cellular/Wi-Fi stations visible (which you feed into Google geolocation API).

提交回复
热议问题