This documentation is archived and is not being maintained.

GetCachePath Function

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

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


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


[out] The returned pointer to the path.


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

Platforms: See .NET Framework System Requirements.

Header: Fusion.h

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0