Class
WinINETCache

Wrapper for WinINET cache APIs.

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public class WinINETCache

Inheritance: objectWinINETCache

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()

Constructors

WinINETCache()

Declaration

cs-api-definition
public WinINETCache()

Methods

ClearCacheItems(bool, bool)

Clear the Cache items. Note: May be synchronous, may be asynchronous.

Declaration

cs-api-definition
public static void ClearCacheItems(bool bClearFiles, bool bClearCookies)

Parameters

bClearFiles

bool

TRUE if cache files should be cleared

bClearCookies

bool

TRUE if cookies should be cleared

ClearCookies()

Clear all HTTP Cookies from the WinINET Cache

Declaration

cs-api-definition
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

cs-api-definition
[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

sHost

string

The hostname whose cookies should be cleared

ClearFiles()

Clear all files from the WinINET Cache

Declaration

cs-api-definition
public static void ClearFiles()