ASP.NET:
Request.ServerVariables["REMOTE_ADDR"];Web Services:
Context.Request.ServerVariables["REMOTE_ADDR"];