TextHelpers.ToHex Method (Byte[])

 

Converts a byte array into a hex string.

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

Syntax

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

Parameters

  • byteArray
    Type: System.Byte[]

    Byte array to convert to a hex string.

Return Value

Type: System.String

Hex-encoded byte array.

See Also

TextHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top