2
Answers

How to get client Machine Name accessing .netweb application

How to get client machine name accessing .net web application when its deployed on server and behind F5 load balancer
 
System.Net.Dns.GetHostEntry(HttpContext.Current.Request.ServerVariables["REMOTE_HOST"]).HostName;
 
this gives correct value when executed on local machine however it returns F5 load balancer IP address when deployed on server.
 
 

Answers (2)