我想使用代理与身份验证在cefsharp 我试过这段代码,它与代理没有身份验证只有 我应该怎么做来设置身份验证。cefsharp代理身份验证
Cef.UIThreadTaskFactory.StartNew(delegate
{
string ip = "IP";
string port = "PORT";
var rc = chrome.GetBrowser().GetHost().RequestContext;
var dict = new Dictionary<string, object>();
dict.Add("mode", "fixed_servers");
dict.Add("server", "" + ip + ":" + port + "");
string error;
bool success = rc.SetPreference("proxy", dict, out error);
});
,我发现这个链接,但我不明白怎么做了
https://bitbucket.org/chromiumembedded/cef/wiki/GeneralUsage.md#markdown-header-proxy-resolution 请编写一些代码,我是beginer。
该文档是https://github.com/cefsharp/CefSharp/wiki/General-Usage#proxy-resolution我不能帮你一个例子。祝你好运! – amaitland