About RequestContext in cefGlue

373 Views Asked by At

There have multiple cefglue in winform,I hope that each cefglue has a separate cache.

In cefsharp:

var browser = new ChromiumWebBrowser(url);
browser.RequestContext = new RequestContext(new RequestContextSettings()
{
    CachePath =System.IO.Directory.GetCurrentDirectory() +     @"\Cache\Cache"+DateTime.Now.ToLongTimeString()
});

I want to know how to do in cefglue

1

There are 1 best solutions below

1
On

You should create each browser with own request context (by providing CefRequestContext in CreateBrowser method).