Anup

Anup

  • NA
  • 17
  • 7.1k

How to get client Machine Name accessing .netweb application

Dec 14 2015 2:45 PM
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)