संपादन करना

के माध्यम से साझा करें


StrongNameGetBlob Function

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

This function has been deprecated. Use the ICLRStrongName::StrongNameGetBLob method instead.

Syntax

BOOLEAN 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

true on successful completion; otherwise, false.

Remarks

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

Requirements

Platforms: See System Requirements.

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 2.0

See also