Posted on: 8/26/2013 4:42:44 AM | Views : 581

Hello, I have used below piece of code to get the hostname from the client machine. string computer_name = System.Net.Dns.GetHostEntry(Request.ServerVariables["remote_host"]).HostName; 1) The above code returns Hostname in WinXP machines 2) The above code returns IP address instead of Hostname in Win7 machines. Request you to help me with the code to fetch hostname from win7 machines also. ...

Go to the complete details ...