Simplifies the selection of a card application.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function SelectApplication( _
ByVal vbApplicationID As Byte() _
) As CardResponseAPDU
This language is not supported or no code example is available.
public CardResponseAPDU SelectApplication(
byte[] vbApplicationID
)
This language is not supported or no code example is available.
public:
CardResponseAPDU^ SelectApplication(
array< Byte >^ vbApplicationID
)
This language is not supported or no code example is available.
Parameters
- vbApplicationID
-
Type: byte[]
The application ID of the application to be selected.
Return Value
Type: CardResponseAPDUIn any case, the response APDU of the selection command will be returned to the caller.
Exception type | Condition |
---|---|
The parameter vbApplicationID was |
|
The vbApplicationID byte array was empty or longer than 256 bytes. |
|
Thrown when a Card Terminal error condition occurs. |
An attempt is made to select the card application with the given application ID (AID). The Selection is attempted using the most simple ISO 7816-4 SELECT command: 'CLA A4 04 0C'.
The class byte for the SELECT command will be taken from the CLA property.