IX509PrivateKey::get_ReaderName method (certenroll.h)

The ReaderName property specifies or retrieves the name of a smart card reader.

This property is read/write.

Syntax

HRESULT get_ReaderName(
  BSTR *pValue
);

Parameters

pValue

Return value

None

Remarks

If you set this property before opening a key, the reader name is concatenated to the name of the key container. The format is \.\Reader_Name\Container_Name. Prepending the reader name to the key container name enables the name to be disambiguated in subsequent calls to a cryptographic provider. The private key is typically stored in the smart card key container when a smart card is used.

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