Convert a byte array into a hexadecimal string.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static string BytesToHexString(
	byte[] ba
)
Visual Basic
Public Shared Function BytesToHexString ( _
	ba As Byte() _
) As String
Visual C++
public:
static String^ BytesToHexString(
	array<unsigned char>^ ba
)

Parameters

ba
Type: array<System..::..Byte>[]()[][]
The byte array to convert.

Return Value

A hexadecimal representation of the byte array.

See Also