ICorDebugMergedAssemblyRecord::GetPublicKey Method

Gets the assembly's public key.

Syntax

HRESULT GetPublicKey(
   [in] ULONG32 cbPublicKey,
   [out] ULONG32 *pcbPublicKey,
   [out, size_is(cbPublicKey), length_is(*pcbPublicKey)] BYTE pbPublicKey[]);

Parameters

cbPublicKey [in] The maximum number of bytes in the pbPublicKey array.

pcbPublicKey [out] A pointer to the actual number of bytes written to the pbPublicKey array.

pbPublicKey [out] A pointer to a byte array that contains the assembly's public key.

Remarks

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

See also