scott oliver

scott oliver

  • NA
  • 82
  • 16.5k

Need to resolve an IP to a domain name

May 11 2016 5:12 PM
I need to resolve an IP to a domain name. I have tried Dns.GetHostEntry and it does not work.
 
For example if you just put http://216.58.219.46 in IE or chrome it will automatically resolve to  https://www.google.com/?gws_rd=ssl
 
How can I do this in c#?
 
I am using 2005 express also. 
 
 

Answers (1)