Answer: By using following code in the Code-Behind file we can get the
IP adderss of a client system on which the application is running.
string MyClientAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
Response.Write("IP Address of my client system is ---"+MyClientAddress);
Source: My Own Observation | Asked In: Many Interviews |
Alert Moderator