ICLRStrongName::StrongNameKeyDelete Method

Deletes the specified key container.

Syntax

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 System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

See Also

StrongNameKeyInstall Method
ICLRStrongName Interface