Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Function ConnectCard( _
ByVal nSlot As Integer, _
ByVal nCardType As CardTypes, _
ByRef vbATR As Byte() _
) As CardActivationResult
This language is not supported or no code example is available.
CardActivationResult ConnectCard(
int nSlot,
CardTypes nCardType,
out byte[] vbATR
)
This language is not supported or no code example is available.
CardActivationResult ConnectCard(
int nSlot,
CardTypes nCardType,
array< Byte >^& vbATR
)
This language is not supported or no code example is available.
Parameters
- nSlot
-
Type: int
Slot number of card terminal slot of interest. The primary slot is identified by the slot number zero. The slot number must be in the range from zero through Slots-1.
- nCardType
-
Type: CardTypes
Card type to connect to. If the actual ICardTerminal implementation does not support the requested card type, then CardActivationResult.NotImplemented is returned.
- vbATR
-
Type: byte[]
[out] Returns the complete ATR that was received when the card was successfully powered up. Will be null whenever the card was not successfully powered up.
Return Value
Type: CardActivationResultReturns the result from the attempt to activate the card. See CardActivationResult for possible return values.