StrongNameKeyDelete Function

Deletes the specified key container.

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

Syntax

BOOLEAN StrongNameKeyDelete (
    [in]  LPCWSTR   wszKeyContainer
);

Parameters

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

Return Value

true on successful completion; otherwise, false.

Remarks

Use the StrongNameKeyInstall function to import 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.

Requirements

Platforms: See System Requirements.

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also