Tests whether the given character is a valid hex digit.

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

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

Parameters

ch
Type: char

Character to test.

Return Value

Type: bool

If the given character is in any of the rangeS '0' through '9', 'a' through 'f', or 'A' through 'F', then true is returned. Otherwise false is returned.

.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