ICLRStrongName::StrongNameGetBlob Method

Fills the specified buffer with the binary representation of the executable file at the specified address.

HRESULT StrongNameGetBlob (
    [in]  LPCWSTR    wszFilePath,
    [in]  BYTE       *pbBlob,
    [in, out] DWORD  *pcbBlob
);

Parameters

  • wszFilePath
    [in] A valid path to the executable file to be loaded.

  • pbBlob
    [in] The buffer into which to load the executable file.

  • pcbBlob
    [in, out] The requested maximum size, in bytes, of pbBlob. Upon return, the actual size, in bytes, of pbBlob.

Return Value

S_OK if the method completed successfully; otherwise, an HRESULT value that indicates failure (see Common HRESULT Values for a list).

Requirements

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4

See Also

Reference

ICLRStrongName::StrongNameGetBlobFromImage Method

ICLRStrongName Interface