IX509PrivateKey::get_DefaultContainer method (certenroll.h)

The DefaultContainer property retrieves a Boolean value that specifies whether the private key represents the default key container.

This property is read-only.

Syntax

HRESULT get_DefaultContainer(
  VARIANT_BOOL *pValue
);

Parameters

pValue

Return value

None

Remarks

Key containers are identified by name. The name can be specified by the client, or it can be a default value supported by the CSP or KSP. For example, some CSPs use the logon name of the current user as the default container name.

This property value is set when the Open or Create methods are called.

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