Converts a given 16 bit word into a string of four hex digits. The most significant nibble will be encoded as the first character, the least significant nibble will be encoded as the fourth character.

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

Public Shared Function FromWord( _ 
ByVal n As Integer
) As String
This language is not supported or no code example is available.
public static string FromWord( 
int n 
)
This language is not supported or no code example is available.
public:  
static String^ FromWord( 
int n 
)
This language is not supported or no code example is available.
public static function FromWord( 
n : int 
) : String;
This language is not supported or no code example is available.

Parameters

n
Type: int

Integer value to be converted. This may be in the range from -32768 (which will be encoded as '8000' through 65535 (which will be encoded as 'FFFF').

Return Value

Type: string

String that contains four hex digit characters.

.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