Click or drag to resize

IHttpCacheClearDiskCache Method

Note: This API is now obsolete.

Marks all entries in the disk cache for deletion. The deletion of the entries is performed asynchronously by the Chromium engine itself. This method is obsolete with version 2.2 and above. Use Clear instead.

Namespace:  DotNetBrowser.Cache
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.11.0
Syntax
C#
[ObsoleteAttribute("This method is obsolete with version 2.2 and above. Use Clear() instead.", 
	false)]
Task ClearDiskCache()

Return Value

Type: Task
a Task which is completed when the disk cache is cleared.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IHttpCache has already been disposed.
See Also