Joined: 09 Aug 2018
|Posted: Thu Aug 09, 2018 12:31 pm Post subject: Using default web proxy
One of our clients has a proxy server that requires the user's login and password to connect to the Internet.
Our solution is to create a webproxy and assign it to the global variable WebRequest.DefaultWebProxy.
However, the AutenticationService class uses the proxy obtained by WebRequest.GetSystemWebProxy().
We have made a change in the AuthenticationService.cs class on line 79:
|this.Proxy = WebRequest.DefaultWebProxy?? WebRequest.GetSystemWebProxy (); |
In our tests it has worked correctly but we do not know if it is necessary to make more changes in the code.
Is it possible to add this feature?
Thanks for your support,