CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    4

    Resolve location of Client machine

    Hi Guys,

    I am working on a website and trying to create a web page which will resolve the location(i.e City and Country where the request is coming) of IP same as we resolve for IP Address.Please help me with sample code.

    Working on ASP.NET VisualStudio2005.

    Thanks

  2. #2
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    Re: Resolve location of Client machine

    Country and city cannot be retrieved via asp.net code directly. You will need to do a look up via IP address.

    A 3th party database containing all IP addresses en their location can be found on http://www.maxmind.com/
    Here you can find several types of databases, including a free one to test (which is less accurate then the one you need to pay for).

    Probably there will be more companies that provide this, but this is the only one I know.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured