String strClientIP;

strClientIP = Request.UserHostAddress;

Response.Write(strClientIP);

Here


Request.UserHostAddress

Code
Gets the IP host address of the remote client Machine.