Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Find Lattitude and Longitude of Client Browser with C# code?
Posted

1 solution

If you mean Lattitude and Longitude in geographic terms, you can't, with any particular accuracy. Depending on the ISP the client is using, you may get the city reported accurately, but you may also get it reported several hundred miles out. For example, I am in Wales, but my location as reported from my IP address frequently comes back as Berlin in Germany.
 
Share this answer
 
Comments
Kartheek.chakrala 7-Oct-11 4:17am    
using javascript it is possible. but my question is how with C# code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900