ICLRStrongName::StrongNameKeyDelete Method

Deletes the specified key container.

HRESULT StrongNameKeyDelete (
    [in]  LPCWSTR   wszKeyContainer
);

Parameters

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

Return Value

S_OK if the method completed successfully; otherwise, an HRESULT value that indicates failure (see Common HRESULT Values for a list).

Remarks

Use the ICLRStrongName::StrongNameKeyInstall method to import a public/private key pair into a container.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4

See Also

Reference

ICLRStrongName::StrongNameKeyInstall Method

ICLRStrongName Interface