[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Converts a byte[] to a hex string

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

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

Parameters

byteArray
array< Byte > [] () [] []
Array of bytes to convert to hex string

Return Value

Hex-encoded byte array

See Also