GetCachePath Function

Gets the path to the cached assembly, using the specified flags.

Syntax

HRESULT GetCachePath (  
    [in]      ASM_CACHE_FLAGS  dwCacheFlags,  
    [in]      LPWSTR           pwzCachePath,  
    [in, out] PDWORD           pcchPath  
 );  

Parameters

dwCacheFlags
[in] An ASM_CACHE_FLAGS value that indicates the source of the cached assembly.

pwzCachePath
[out] The returned pointer to the path.

pcchPath
[in, out] The requested maximum length of pwzCachePath, and upon return, the actual length of pwzCachePath.

Requirements

Platforms: See System Requirements.

Header: Fusion.h

.NET Framework Versions: Available since 2.0

See Also

ASM_CACHE_FLAGS Enumeration
Fusion Global Static Functions