Gets a token representing a public key. A strong name token is the shortened form of a public key.
This function has been deprecated in the .NET Framework version 4. Use the ICLRStrongName::StrongNameTokenFromPublicKey method instead.
BOOLEANStrongNameTokenFromPublicKey ( [in] BYTE *pbPublicKeyBlob, [in] ULONG cbPublicKeyBlob, [out] BYTE **ppbStrongNameToken, [out] ULONG *pcbStrongNameToken );
A strong name token is the shortened form of a public key used to save space when storing key information in metadata. Specifically, strong name tokens are used in assembly references to refer to the dependent assembly.
If the StrongNameTokenFromPublicKey function does not complete successfully, call the StrongNameErrorInfo function to retrieve the last generated error.
Platforms: See .NET Framework System Requirements.
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, 1.1, 1.0