Question:
How to bypass a local proxy when doing HttpWebRequests in dot.net?
Answer:
In your application config you can set the system.net settings
config sample
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy bypassonlocal="True" proxyaddress="http://proxy.yourdomain:port/" />
</defaultProxy>
</system.net>
No comments:
Post a Comment