2
Answers

How to get client Machine Name accessing .netweb application

Photo of Anup

Anup

9y
2.4k
1
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)