Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When using WebProxy, what does BypassOnLocal really mean/do?

Tags:

c#

When setting up a new WebProxy instance, you can indicate whether it is a BypassOnLocal. What does this actually do? And what would I typically want to keep it as?

WebProxy proxy = new WebProxy(uri, BypassOnLocal: true);

like image 390
Azhari Avatar asked Sep 26 '26 23:09

Azhari


1 Answers

In Large organization, all network request goes through the proxy server. So if you are developing an enterprise application using c# and wanted to handle this proxy server then I would recommend using this and mostly we don't want proxy server to handle the request for resources available in the same PC so we can bypass the proxy server for all local requests.

Hope this helps.

like image 178
RICKY KUMAR Avatar answered Sep 28 '26 12:09

RICKY KUMAR



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!