Answer the question
In order to leave comments, you need to log in
How to force CefSharp to load a page through a proxy?
Good afternoon, please tell me how to force CefSharp to load a page through a proxy?
My code (does not work):
string proxy = "прописываю прокси";
CefSettings settings = new CefSettings();
settings.CefCommandLineArgs.Add("proxy-server", proxy);
settings.UserAgent = "My/Custom/User-Agent-AndStuff";
Cef.Initialize(settings);
browser = new ChromiumWebBrowser("https://2ip.ru");
webPL.Controls.Add(browser);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question