Click to See Complete Forum and Search --> : Identifying a websites IP address ASP.NET C#


0rb1t
04-27-2006, 02:11 PM
Hi,

I am trying to create a form that takes a web address and returns the IP of the server hosting the website. Does anyone have any ideas on how this can be done?

I've tried looking in the response headers but they dont seem to hold the IP address? :confused:

Terrorke
04-27-2006, 05:26 PM
In classic ASP it can be done with request.servervariables.

Maby there is something like that in .NET