Performs a PIN verification.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function VerifyPin( _
ByVal aPinControl As CardPinControl, _
ByVal sPin As String _
) As CardResponseAPDU
This language is not supported or no code example is available.
public CardResponseAPDU VerifyPin(
CardPinControl aPinControl,
string sPin
)
This language is not supported or no code example is available.
public:
CardResponseAPDU^ VerifyPin(
CardPinControl^ aPinControl,
String^ sPin
)
This language is not supported or no code example is available.
public function VerifyPin(
aPinControl : CardPinControl,
sPin : String
) : CardResponseAPDU;
This language is not supported or no code example is available.
Parameters
- aPinControl
-
Type: CardPinControl
Control information about how to format the PIN and create a verify PIN command APDU.
- sPin
-
Type: string
PIN to be inserted into the verify PIN command APDI that is built and sent.
Return Value
Type: CardResponseAPDU
The response APDU from the verify card command is returned. Usually this contains nothing but the status word which indicates whether the PIN verification was successful.
If the given PIN is completely malformed and no card command could be built,
then null
is returned.
Exception type | Condition |
---|---|
Any of the arguments was |
|
Thrown when a Card Terminal error condition occurs. |