CreditCard.VerifyPin(ReadOnlySpan<Byte>) Method

Definition

Verify the pin. Note this command may not be supported for your specific credit card

public Iot.Device.Card.ErrorType VerifyPin (ReadOnlySpan<byte> pindigits);
member this.VerifyPin : ReadOnlySpan<byte> -> Iot.Device.Card.ErrorType
Public Function VerifyPin (pindigits As ReadOnlySpan(Of Byte)) As ErrorType

Parameters

pindigits
ReadOnlySpan<Byte>

The pin in a byte array, between 4 and 8 array length. Pin numbers should be bytes like in the following example: byte[] pin = new byte[] { 1, 2, 3, 4 };

Returns

The error status

Applies to