Click or drag to resize

CnvFromHex Method

Convert the specified string representation of a value consisting of hexadecimal (base 16) digits to an equivalent array of 8-bit unsigned integers.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static byte[] FromHex(
	string s
)

Parameters

s  String
Hex-encoded string

Return Value

Byte
Binary data in byte array, or an empty array on error.
Remarks
Whitespace and ASCII punctuation characters are ignored, but other non-hex characters will cause an error.
See Also