I use Geckofx 22.0.7.0 and XULRunner 22, I want to delete the browser cache. I have already found a code but it shows me an error: Gecko.Cache.CacheService.Clear (new CacheStoragePolicy ()); The error is : the method or operation is not implemented - NotImplementedException was unhandled.
// https://developer.mozilla.org/enUS/docs/Mozilla/Tech/XPCOM/Reference/Interface/imgICache
Gecko.Cache.ImageCache.ClearCache(true);
Gecko.Cache.ImageCache.ClearCache(false);
// Defaults to all devices(0) - https://bitbucket.org/geckofx/geckofx-9.0/issue/7/idl-translation-bug-for-enums
Gecko.Cache.CacheService.Clear(new CacheStoragePolicy());`