 |
 |
Authentication Add comment |
 |
|
SCardConnect
|
|
Establishes a connection (using a specific resource manager context) between the calling application and a smart card contained by a specific reader.
|
|
 |
 |
 |
|
SCardControl
|
|
The SCardControl function gives you direct control of the reader by sending specific control codes optionally accompanied with supporting input data. |
|
 |
 |
 |
|
SCardDisconnect
|
|
Terminates a connection previously opened between the calling application and a smart card in the target reader. |
|
 |
 |
 |
|
SCardEstablishContext
|
|
Establishes the resource manager context (the scope) within which database operations are performed. |
|
 |
 |
 |
|
SCardGetAttrib
|
|
Gets the current reader attributes for the given handle. It does not affect the state of the reader, driver, or card.
|
|
 |
 |
 |
|
SCardGetProviderId
|
|
Returns the identifier (GUID) of the primary service provider for a given card. |
|
 |
 |
 |
|
SCardIsValidContext
|
|
Determines whether a smart card context handle is valid.
|
|
 |
 |
 |
|
SCardListCards
|
|
Searches the smart card database and provides a list of named cards previously introduced to the system by the user. |
|
 |
 |
 |
|
SCardListInterfaces
|
|
Provides a list of interfaces supplied by a given card. |
|
 |
 |
 |
|
SCardListReaderGroups
|
|
Provides the list of reader groups that have previously been introduced to the system.
|
|
 |
 |
 |
|
SCardListReaders
|
|
Provides the list of readers within a set of named reader groups. |
|
 |
 |
 |
|
SCardReleaseContext
|
|
Closes an established resource manager context, freeing any resources allocated under that context, including SCARDHANDLE objects and memory allocated using the SCARD_AUTOALLOCATE length designator.
|
|
 |
 |
 |
|
SCardStatus
|
|
Provides the current status of a smart card in a reader. |
|
 |
 |
 |
|
SCardTransmit
|
|
Sends a service request to the smart card and expects to receive data back from the card. |
|
 |
 |
 |
 |
| Code examples: |
 |
|
|
 |
|
|