cefsharp winform 代理问题
从网上查了一下m_setting.CefCommandLineArgs.Add("proxy-auto-detect", "1"); 这种方式我试过没有效果, 通过测试IRequestHandler实现这个接口在方法中
public bool GetAuthCredentials(IWebBrowser browserControl, IBrowser browser, IFrame frame, bool isProxy, string host, int port, string realm, string scheme, IAuthCallback callback)
{
callback.Continue("name","password");
return true;
}
这种方式可以 但是 这个用户名密码希望能使用浏览器记录的用户名密码 或者没有输入的时候自动弹出来一个对话框 类似浏览器的设置 而不是在这写死