Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Sub EnlistCardTerminal( _
ByVal aCardTerminal As ICardTerminal _
)
This language is not supported or no code example is available.
public void EnlistCardTerminal(
ICardTerminal aCardTerminal
)
This language is not supported or no code example is available.
public:
void EnlistCardTerminal(
ICardTerminal^ aCardTerminal
)
This language is not supported or no code example is available.
Parameters
- aCardTerminal
-
Type: ICardTerminal
Card terminal which shall be enlisted at the CardTerminalManager singleton.
Exception type | Condition |
---|---|
The argument was null. |
|
The given card terminal was already enlisted. |
Adding a card terminal to the monitor list passes the ownership of the ICardTerminal reference to the CardTerminalManager. This implies that the card terminal must not be disposed by the application, but is automatically disposed when the CardTerminalManager shuts down. An application can revoke ownership by delisting the card terminal with DelistCardTerminal
When a card terminal is enlisted all its card slots are added to the list of monitored card terminal slots. Once a card terminal slot is monitored, it will be periodically polled by a background thread for changes in the card presence state.