How to get the computer name using the IP Address [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am trying to get the computer name for the current user. I am able to get the IP address using System.Net.Dns.GetHostEntry("ComputerName").Address.ToString() but when I replace the *ComputerName*with the IPAddress I receive the following error. No such host is known I enabled reverse DNS in IIS7 by running