Showing posts with label current system ip amp; name. Show all posts
Showing posts with label current system ip amp; name. Show all posts

19 September 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);