我想在 C# 中使用带有 Xilium CefGlue 凭据的代理。谁能告诉我该怎么做?
我正在做这样的事情: -
internal class CefProxy : CefUrlRequestClient
{
protected override void OnDownloadData(CefUrlRequest request, Stream data)
{
throw new NotImplementedException();
}
protected override void OnDownloadProgress(CefUrlRequest request, ulong current, ulong total)
{
throw new NotImplementedException();
}
protected override void OnRequestComplete(CefUrlRequest request)
{
throw new NotImplementedException();
}
protected override void OnUploadProgress(CefUrlRequest request, ulong current, ulong total)
{
throw new NotImplementedException();
}
protected override bool GetAuthCredentials(bool isProxy, string host, int port, string realm, string scheme, CefAuthCallback callback)
{
return base.GetAuthCredentials(true, host, port, realm, scheme, callback);
}
}
但是如何调用 GetAuthCredentials 方法呢?