Sends the command APDU to the given card terminal slot and returns the response APDU from
the inserted card.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Function SendCommand( _
ByVal nSlot As Integer, _
ByVal aCommand As CardCommandAPDU _
) As CardResponseAPDU
This language is not supported or no code example is available.
CardResponseAPDU SendCommand(
int nSlot,
CardCommandAPDU aCommand
)
This language is not supported or no code example is available.
CardResponseAPDU^ SendCommand(
int nSlot,
CardCommandAPDU^ aCommand
)
This language is not supported or no code example is available.
function SendCommand(
nSlot : int,
aCommand : CardCommandAPDU
) : CardResponseAPDU;
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.
- aCommand
-
Type: CardCommandAPDU
Complete command APDU to be transmitted. This must not be null.
Return Value
Type: CardResponseAPDUReturns the response APDU from the inserted card. This is never null. If no response APDU was received for whatever reason, then a CardTerminalException is thrown.
If the connected card type is a memory card, then an application uses this method in
order to send command APDUs according to the MCT specification part 7: IC Cards with
Synchronous Transmission; Usage of Interindustry Commands.