Get user location by IP address

前端 未结 14 1238
深忆病人
深忆病人 2020-11-28 02:23

I have an ASP.NET website written in C#.

On this site I need to automatically show a start page based on the user\'s location.

Can I get name of user\'s city

14条回答
  •  一整个雨季
    2020-11-28 02:57

    You'll probably have to use an external API, most of which cost money.

    I did find this though, seems to be free: http://hostip.info/use.html

提交回复
热议问题