Last post May 11, 2011 05:47 AM by Mamba Dai - MSFT
May 05, 2011 02:13 AM|htsh_shrm|LINK
I`m hosting my asp.net application on windows server 2003 and trying to retrieve the remote client name using the code below:
This is not workin for me. it gives me the IP address and not the hostname. I tried using "remote_host" in place of "remote_addr" but of no use.
When i host my application on windows 7 IIS then everything works fine, but in the end i need to host it on server 2003.
Please help. Very urgent
May 05, 2011 02:45 AM|suresh.mekkattil|LINK
Please try this
May 11, 2011 05:47 AM|Mamba Dai - MSFT|LINK
This article demonstrates how to obtain the host name,
Also you can try to use "IPHostEntry.HostName", this link may be useful to you.