ASP.NET - track ip address and country name - Asked By naresh on 02-Nov-12 02:37 AM

Hi All,

I want track visitor ip address and country name in asp.net

Robbe Morris replied to naresh on 02-Nov-12 10:21 AM
You'll need a country to ip address database.  There are numerous vendors online that will sell you one and keep it updated.

The ip address of the visitor is available in the Request object: 

Request["REMOTE_ADDR"].ToString()