I\'m using the .NET WebRequest while changing my HOSTS file. I\'m observing that System.Net doesn\'t honor those changes - how can I make it do so?
I have a number o
If you want to keep the DnsRefreshTimeout > 0 then you can update the cache by making a call to:
System.Net.Dns.GetHostEntry("example.com");