Builds the MODIFY command APDU to be sent to the card by filling the given PINs into the
command APDU template.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function BuildModifyCardCommandAPDU( _
ByVal sPin1 As String, _
ByVal sPin2 As String _
) As CardCommandAPDU
This language is not supported or no code example is available.
public CardCommandAPDU BuildModifyCardCommandAPDU(
string sPin1,
string sPin2
)
This language is not supported or no code example is available.
public:
CardCommandAPDU^ BuildModifyCardCommandAPDU(
String^ sPin1,
String^ sPin2
)
This language is not supported or no code example is available.
Parameters
- sPin1
-
Type: string
The first pin.
- sPin2
-
Type: string
The second pin.
Return Value
Type: CardCommandAPDU
If successful a new instance of the CardCommandAPDU class is returned that contains the command APDU template filled with the encoded PINs. The returned command APDU can then be sent to the card terminal in order to actually perform the PIN modification.
If one of the given PINs is not acceptable or it cannot be encoded as required, then null will be returned. Use IsAcceptablePin to check a PIN before attempting to build a card command APDU.
Marc, 9/29/2022.