Checks if PIN character is valid.

Namespace: CardWerk.SmartCard.Util
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Shared Function IsValidPinDigit( _ 
ByVal pinEncodingMethod As PinEncodingIdentifier, _ 
ByVal pinCharacter As Char
) As Boolean
This language is not supported or no code example is available.
public static bool IsValidPinDigit( 
PinEncodingIdentifier pinEncodingMethod
char pinCharacter 
)
This language is not supported or no code example is available.
public:  
static bool IsValidPinDigit( 
PinEncodingIdentifier pinEncodingMethod
char pinCharacter 
)
This language is not supported or no code example is available.
public static function IsValidPinDigit( 
pinEncodingMethod : PinEncodingIdentifier
pinCharacter : char 
) : boolean;
This language is not supported or no code example is available.

Parameters

pinEncodingMethod
Type: PinEncodingIdentifier

Indicated encoding method based or identifier.

pinCharacter
Type: char

PIN character that needs to be tested.

Return Value

Type: bool

True if valid pin digit, false if not.

Exception type Condition

ArgumentException

Thrown when one or more arguments have unsupported or illegal values.

Marc, 9/29/2022.

.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