Class WinINETCache
Wrapper for WinINET cache APIs.
Inheritance
Inherited Members
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public class WinINETCache
Constructors
WinINETCache()
Declaration
public WinINETCache()
Methods
ClearCacheItems(Boolean, Boolean)
Clear the Cache items. Note: May be synchronous, may be asynchronous.
Declaration
public static void ClearCacheItems(bool bClearFiles, bool bClearCookies)
Parameters
System.Boolean
bClearFiles
TRUE if cache files should be cleared |
System.Boolean
bClearCookies
TRUE if cookies should be cleared |
ClearCookies()
Clear all HTTP Cookies from the WinINET Cache
Declaration
public static void ClearCookies()
ClearCookiesForHost(String)
Delete all permanent WinINET cookies for sHost; won't clear memory-only session cookies. Supports hostnames with an optional leading wildcard, e.g. *example.com. NOTE: Will not work on VistaIE Protected Mode cookies.
Declaration
[CodeDescription("Delete all permanent WinINET cookies for sHost; won't clear memory-only session cookies. Supports hostnames with an optional leading wildcard, e.g. *example.com. NOTE: Will not work on VistaIE Protected Mode cookies.")]
public static void ClearCookiesForHost(string sHost)
Parameters
System.String
sHost
The hostname whose cookies should be cleared |
ClearFiles()
Clear all files from the WinINET Cache
Declaration
public static void ClearFiles()