You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I'm trying set different CachePath for all new windows with browser in Cefsharp.WPF.
This code work in Cefsharp.Winforms: var requestContextSettings = new RequestContextSettings { CachePath = Path }; var requestContext = new RequestContext(requestContextSettings); Browser = new ChromiumWebBrowser("https://google.com") { RequestContext = requestContext, };
pnl_Browser.Controls.Add(Browser);
And each new window has its own Cache.
But, when I'm trying to do this in Cefsharp.WPF it doesn't work var requestContextSettings = new RequestContextSettings {CachePath = PathToCache}; var requestContext = new RequestContext(requestContextSettings); Browser = new ChromiumWebBrowser {RequestContext = requestContext};
How can i set different CachePath in Cefsharp.WPF?
The text was updated successfully, but these errors were encountered:
The location where data for the global browser cache will be stored on disk.
In this value is non-empty then it must be an absolute path that is must be either
equal to or a child directory of CefSettings.RootCachePath (if RootCachePath
is empty it will default to this value).
Hello.
I'm trying set different CachePath for all new windows with browser in Cefsharp.WPF.
This code work in Cefsharp.Winforms:
var requestContextSettings = new RequestContextSettings { CachePath = Path }; var requestContext = new RequestContext(requestContextSettings); Browser = new ChromiumWebBrowser("https://google.com") { RequestContext = requestContext, };
pnl_Browser.Controls.Add(Browser);
And each new window has its own Cache.
But, when I'm trying to do this in Cefsharp.WPF it doesn't work
var requestContextSettings = new RequestContextSettings {CachePath = PathToCache}; var requestContext = new RequestContext(requestContextSettings); Browser = new ChromiumWebBrowser {RequestContext = requestContext};
How can i set different CachePath in Cefsharp.WPF?
The text was updated successfully, but these errors were encountered: