Sends the command APDU to the card and returns its response APDU.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function SendCommand( _
ByVal aCommandAPDU As CardCommandAPDU _
) As CardResponseAPDU
This language is not supported or no code example is available.
public CardResponseAPDU SendCommand(
CardCommandAPDU aCommandAPDU
)
This language is not supported or no code example is available.
public:
CardResponseAPDU^ SendCommand(
CardCommandAPDU^ aCommandAPDU
)
This language is not supported or no code example is available.
public function SendCommand(
aCommandAPDU : CardCommandAPDU
) : CardResponseAPDU;
This language is not supported or no code example is available.
Parameters
- aCommandAPDU
-
Type: CardCommandAPDU
The command APDU to be sent. Must not be
null
Return Value
Type: CardResponseAPDUThe response APDU from the card.
Exception type | Condition |
---|---|
Thrown when one or more required arguments are null. |
The PC/SC Workgroup API is designed to send TPDUs and not APDUs. This means that this method has to and does handle the correct transmission of APDUs over T=0 or T=1 TPDUs using GET RESPONSE and so on.