IX509PrivateKey::get_UniqueContainerName method (certenroll.h)

The UniqueContainerName property retrieves a unique name for the key container.

This property is read-only.

Syntax

HRESULT get_UniqueContainerName(
  BSTR *pValue
);

Parameters

pValue

Return value

None

Remarks

This property retrieves an alternate name that can be used when accessing a key when you believe that the ContainerName property value is not unique enough to provide adequate identification. Typically the key container creates the name. For example, the Cryptography API: Next Generation (CNG) key storage provider (KSP) returns the name of the encrypted file that contains the key.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509PrivateKey