Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

22 August 2011

how to know the current system name and ip address in asp.net

Response.Write(Request.ServerVariables["REMOTE_ADDR"].ToString()+"
"
);
Response.Write(
HttpContext.Current.Server.MachineName);