Share via


StrongNameKeyDelete Function

Deletes the specified key container.

BOOLEAN StrongNameKeyDelete (
        [in]  LPCWSTR   wszKeyContainer
);

Parameters

Parameter Description

wszKeyContainer

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

Return Value

true on successful completion; otherwise, false.

Remarks

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

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

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

StrongNameKeyInstall Function

Other Resources

Strong Naming Global Static Functions