Skip to main content

RemoveHostCache

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see RemoveHostCache for Unreal Engine SDK.

Function definition

public static void RemoveHostCache(string host)

Input parameters

ParameterTypeDescription
hoststringDomain
Determine whether to clear all cache or the host cache based on host

Code sample

// Clear cache under the specified domain
INTLAPI.RemoveHostCache("www.qq.com");
// Clear all cache
INTLAPI.RemoveHostCache();