NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BitConverter.ToString (Byte[])

Converts an array of unsigned bytes into a string.

[Visual Basic]
Overloads Public Shared Function ToString( _
   ByVal value() As Byte _
) As String
[C#]
public static string ToString(
   byte[] value
);
[C++]
public: static String* ToString(
   unsigned char* value[]
);
[JScript]
public static function ToString(
   value : Byte[]
) : String;

Parameters

value
An array of unsigned bytes.

Return Value

A list of hexadecimal pairs representing the corresponding entries of value. The hexadecimal pairs are separated by hyphens (for example, "7F-2C-4A").

Exceptions

Exception Type Condition
ArgumentException if value is a null reference (in Visual Basic Nothing).

See Also

BitConverter Class | BitConverter Members | System Namespace | BitConverter.ToString Overload List