Skip to content

Set Proxy Per Browser #1813

@AgapovAlexsey

Description

@AgapovAlexsey

Hi. How i can use different proxy for different instances class ChromiumWebBrowser?
I set proxy as shown below:

 Cef.UIThreadTaskFactory.StartNew(delegate {
      var rc = chromeBrowser.GetBrowser().GetHost().RequestContext;
      var v = new Dictionary<string, object>();
      v["mode"] = "fixed_servers";
      v["server"] = "socks5://127.0.0.1:9190";
      string error;
      bool success = rc.SetPreference("proxy", v, out error);                
    });      

But it changed proxy for all instances ChromiumWebBrowser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions