This documentation is archived and is not being maintained.

StrongNameKeyDelete Function

Deletes the specified key container.

This function has been deprecated in the .NET Framework version 4. Use the ICLRStrongName::StrongNameKeyDelete method instead.

BOOLEAN StrongNameKeyDelete (
    [in]  LPCWSTR   wszKeyContainer


[in] The name of the key container to delete.

true on successful completion; otherwise, false.

Use the StrongNameKeyInstall function to importa a public/private key pair into a container.

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

Platforms: See .NET Framework System Requirements.

Header: StrongName.h

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