The ISCardDatabase interface provides the methods for performing the smart card resource manager's database operations. These operations include listing known smart cards, readers, and reader groups, plus retrieving the interfaces supported by a smart card and its primary service provider.
Note The identifier of the primary service provider is a COM GUID that can be used to instantiate and use the COM objects for a specific card.
The following example shows a typical use of the ISCardDatabase interface. In this case, the ISCardDatabase interface is used to list all the known smart cards.
ISCardDatabase Methods | Description |
---|---|
GetProviderCardId | Retrieves the identifier of the primary service provider for a specific smart card. |
ListCardInterfaces | Retrieves the interface identifiers (GUIDs) of all the interfaces supported by a specific smart card. |
ListCards | Retrieves all the smart card names that match a specific set of interface identifiers (GUIDs) or an ATR string. |
ListReaderGroups | Retrieves the names of the reader groups that the resource manager has knowledge of. |
ListReaders | Retrieve the names of the readers that the resource manager has knowledge of. |