Performs PIN verify and PIN change.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function ChangePin( _
ByVal aPinControl As CardPinControl, _
ByVal sOldPin As String, _
ByVal sNewPin As String _
) As CardResponseAPDU
This language is not supported or no code example is available.
public CardResponseAPDU ChangePin(
CardPinControl aPinControl,
string sOldPin,
string sNewPin
)
This language is not supported or no code example is available.
public:
CardResponseAPDU^ ChangePin(
CardPinControl^ aPinControl,
String^ sOldPin,
String^ sNewPin
)
This language is not supported or no code example is available.
public function ChangePin(
aPinControl : CardPinControl,
sOldPin : String,
sNewPin : String
) : CardResponseAPDU;
This language is not supported or no code example is available.
Parameters
- aPinControl
-
Type: CardPinControl
Control information about the command APDU to be sent to the card. As basically every card has its own subtle way of changing the PIN, there is no easier way than this.
- sOldPin
-
Type: string
.
- sNewPin
-
Type: string
.
Return Value
Type: CardResponseAPDU
The response APDU from the card command is returned. Usually this contains nothing but the status word which indicates whether the PIN modification was successful.
Exception type | Condition |
---|---|
Any of the arguments was |