Adds a card terminal to the list of monitored card terminals.

Namespace: CardWerk.SmartCard
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.
public function EnlistCardTerminal( 
aCardTerminal : ICardTerminal 
);
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

ArgumentNullException

The argument was null.

InvalidOperationException

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.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0