Performs a PIN verification.

Namespace: CardWerk.SmartCard
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

ArgumentNullException

Any of the arguments was null.

CardTerminalException

Thrown when a Card Terminal error condition occurs.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0