ICorDebugMergedAssemblyRecord::GetPublicKeyToken Method
Gets the assembly's public key token.
Syntax
HRESULT GetPublicKeyToken(
[in] ULONG32 cbPublicKeyToken,
[out] ULONG32 *pcbPublicKeyToken,
[out, size_is(cbPublicKeyToken), length_is(*pcbPublicKeyToken)] BYTE pbPublicKeyToken[]
);
Parameters
cbPublicKeyToken
[in] The maximum number of bytes in the pbPublicKeyToken
array.
pcbPublicKeyToken
[out] A pointer to the actual number of bytes written to the pbPublicKeyToken
array.
pbPublicKeyToken
[out] A pointer to a byte array that contains the assembly's public key token.
Remarks
An assembly's public key token is the last eight bytes of a SHA1 hash of its public key.
Note
This method is available with .NET Native only.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6, .NET Native only