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
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.