| Rank: Member Groups: Member
 
 Joined: 1/14/2016
 Posts: 28
 
 | 
		    EO.WebEngine.EngineOptions.Default.CachePath EO.WebBrowser.Runtime.CachePath
 EO.WebEngine.Engine.Default.Options.CachePath
 
 hello  i want to know the difference between above cachepath?
 in my test only "EO.WebEngine.Engine.Default.Options.CachePath" effective to me
 but the cachepath is base on  "C:\Users\Administrator\AppData\Local\Temp"  if i set cachepath = "aa"
 the Absolute path is  "C:\Users\Administrator\AppData\Local\Temp\aa" , so i need set  cachepath  = Application.StartupPath + "\\aa";
 
 i try other browser like cefsharp ...  both of them    base path is   Application.StartupPath ,so you can think a little
 besh wish!
 
 | 
	| Rank: Administration Groups: Administration
 
 Joined: 5/27/2007
 Posts: 24,425
 
 | 
		    Hi,
 EO.WebEngine.EngineOptions.Default.CachePath and EO.WebBrowser.Runtime.CachePath are the same. The second is just a shortcut for the first.
 
 EO.WebEngine.EngineOptions.Default.CachePath applies to all engines created after you setting this property. EO.WebEngine.Engine.Default.Options.CachePath only applies to the "default" engine. Like EngineOptions.Default.CachePath, it only used when the engine is created. This means if the default engine has already started, setting Engine.Default.Options.CachePath would have no effect.
 
 Currently the cache path is always rooted in the temp directory. If you want to have an absolute path, you can just set CachePath to an absolute path.
 
 Thanks!
 |