Skip to content

Compare: General Usage

New page
Showing with 4 additions and 4 deletions.
  1. +4 −4 General-Usage.md
8 changes: 4 additions & 4 deletions General-Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ public static void Init()

// Increase the log severity so CEF outputs detailed information, useful for debugging
settings.LogSeverity = LogSeverity.Verbose;
// By default CEF uses an in memory cache, to save cached data e.g. passwords you need to specify a cache path
// By default CEF uses an in memory cache, to save cached data e.g. to persist cookies you need to specify a cache path
// NOTE: The executing user must have sufficient privileges to write to this folder.
settings.CachePath = "cache";
settings.CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");

Cef.Initialize(settings);
}
Expand Down Expand Up @@ -215,9 +215,9 @@ public static void Init()
// Specify Global Settings and Command Line Arguments
var settings = new CefSettings();

// By default CEF uses an in memory cache, to save cached data e.g. passwords you need to specify a cache path
// By default CEF uses an in memory cache, to save cached data e.g. to persist cookies you need to specify a cache path
// NOTE: The executing user must have sufficient privileges to write to this folder.
settings.CachePath = "cache";
settings.CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");;

// There are many command line arguments that can either be turned on or off
Expand Down