0

I have tried:

Request.ServerVariables["HTTP_X_FORWARDED_FOR"],

Request.ServerVariables["REMOTE_ADDR"],

Request.UserHostAddress;

And used: http://api.ipinfodb.com/v3/ip-city/?key={0}&ip={1}&format=json

for getting the City Name.

and published the code . Its working well on PC but on mobile networks its not showing any...Can anyone tell me the solution?

jazb
  • 5,498
  • 6
  • 37
  • 44

0 Answers0