By using
Request.UserHostName also returns IP Address instead of returning Name while
Request.UserHostAddress working fine for IP Address.
Please guide me how can I get Client machine in asp.net application using C# or any other mechanism used for this purpose ?
Early response will be regarded.

Joginder BangerRank #360 · 7K reputationPosted Feb 8, 2017, 7:42 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Feb 8, 2017, 7:39 PM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 8, 2017, 7:42 PM EST
Joginder BangerRank #360 · 7K reputationPosted Feb 8, 2017, 7:43 PM EST
As far as I remember, in order to get:
Request.ServerVariables["REMOTE_ADDR"]Request.ServerVariables["REMOTE_HOST"]Request.ServerVariables["REMOTE_USER"]you have to enable
Reverse DNS Lookupfor you IIS.p.s. atm I'm not able to test it myself, so I'm not quite sure if this will solve ur problem
Thanks stackoverflow.com team for your efforts.Muhammad Mohsan108 reputationPosted Feb 8, 2017, 9:25 PM EST