String strClientIP;

strClientIP = Request.UserHostAddress;

Response.Write(strClientIP);

Here


Request.UserHostAddress


Gets the IP host address of the remote client Machine.