StrongNameKeyInstall Function


Imports a public/private key pair into a container.

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

BOOLEAN StrongNameKeyInstall (  
    [in]  LPCWSTR   wszKeyContainer,  
    [in]  BYTE      *pbKeyBlob,  
    [in]  ULONG     cbKeyBlob  


[in] The name of the key container. wszKeyContainer must be a non-empty string.

[in] The binary key pair.

[in] The size, in bytes, of pbKeyBlob.

true on successful completion; otherwise, false.

Use the StrongNameKeyDelete function to delete the key container.

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

Platforms: WindSee System Requirements.

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

StrongNameKeyInstall Method
StrongNameKeyDelete Method
ICLRStrongName Interface