I have this configuration for the browser as it was said, but I am getting a blank page in every request:
_browser = new ChromiumWebBrowser(url, browserSettings, requestContext);
if (proxyInf != null && proxyInf.url != null)
isProxy = true;
_browser.RequestHandler = new RequestHandler(userAgent, url, isProxy, proxyInf);
Cef.UIThreadTaskFactory.StartNew(delegate
{
var rc = _browser.GetBrowser().GetHost().RequestContext;
var dict = new Dictionary<string, object>();
dict.Add("mode", "fixed_servers");
dict.Add("server", proxyInf.url);
string error;
bool success = rc.SetPreference("proxy", dict, out error);
});
if I go through a proxy, this proxy needs authentication and I notice I never get into the method of the credential.
IRequestHandler.GetAuthCredentials(IWebBrowser browserControl, IBrowser browser, IFrame frame, bool isProxy, string host, int port, string realm, string scheme, IAuthCallback callback)
Any ideas?