BitConverterToString Method (Byte) |
Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static string ToString(
byte[] value
)
Parameters
- value
- Type: SystemByte
An array of bytes.
Return Value
Type:
StringA string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in
value; for example, "7F-2C-4A-00".
Exceptions See Also