c# - Ignore hosts file? -


Response to C # Redirect method is to call but I need to do this to ignore the host file on the windows for this call?

For example, if I have a host:

127.0.0.1 google.com

And I get a response. Redirect ("google.com"). , I need to ignore the hosts for this call and actually go to google.com instead of the local host. How can I do this?

I know that I can say a liability. Redirecting to Google's IP address, but is there a better way?

Comments