Smart connect method to check if the requested card type/technology is supported on library and reader level. We ensure that we are connected to a genuine card. For readers that don't come with a PCSC2 compatible driver, pcsc2enabled needs to be set to false.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Function Connect( _ 
ByVal cardIdentifier As CardIdentifier
) As Boolean
This language is not supported or no code example is available.
public bool Connect( 
CardIdentifier cardIdentifier 
)
This language is not supported or no code example is available.
public:  
bool Connect( 
CardIdentifier cardIdentifier 
)
This language is not supported or no code example is available.
public function Connect( 
cardIdentifier : CardIdentifier 
) : boolean;
This language is not supported or no code example is available.

Parameters

cardIdentifier
Type: CardIdentifier

Identifier for the card.

Return Value

Type: bool

True if it succeeds, false if it fails.

.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