We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IWebProxy proxy = WebRequest.GetSystemWebProxy(); proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; request.Proxy = proxy; request.PreAuthenticate = true;
Cache the default proxy to avoid auto lookup for every WebRequest.
Maybe a tristate (Explicit Proxy, Auto Proxy, Without Proxy - null):
https://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow
Can also be configured globally for the entire application:
<system.net> <defaultProxy enabled="true" useDefaultCredentials="true"> <proxy usesystemdefault="True" /> </defaultProxy> </system.net>
https://msdn.microsoft.com/en-us/library/dkwyc043.aspx
The text was updated successfully, but these errors were encountered:
Thanks @snakefoot , makes sense! 👍
Sorry, something went wrong.
No branches or pull requests
Cache the default proxy to avoid auto lookup for every WebRequest.
Maybe a tristate (Explicit Proxy, Auto Proxy, Without Proxy - null):
https://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow
Can also be configured globally for the entire application:
https://msdn.microsoft.com/en-us/library/dkwyc043.aspx
The text was updated successfully, but these errors were encountered: