This documentation is archived and is not being maintained.

StrongNameGetBlob Function

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

This function has been deprecated in the .NET Framework version 4. Use the ICLRStrongName::StrongNameGetBLob method instead.

BOOLEAN StrongNameGetBlob (
    [in]  LPCWSTR    wszFilePath,
    [in]  BYTE       *pbBlob,
    [in, out] DWORD  *pcbBlob


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


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


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

true on successful completion; otherwise, false.

If the StrongNameGetBlob function does not complete successfully, call the StrongNameErrorInfo function to retrieve the last generated error.

Platforms: See .NET Framework System Requirements.

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

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