Click or drag to resize

Crypt32ManagedCryptBinaryToString Method

Note: This API is now obsolete.

Converts an array of bytes into a formatted string.

Namespace:  PKI.ManagedAPI
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
[ObsoleteAttribute("Use AsnFormatter.BinaryToString instead", true)]
public static string CryptBinaryToString(
	byte[] inputArray,
	CryptEncoding outputEncoding,
	CryptFormatting outputFormatting
)

Parameters

inputArray
Type: SystemByte
A byte array to convert.
outputEncoding
Type: PKI.ManagedAPICryptEncoding
Specifies the encoding of the resulting formatted string.
outputFormatting
Type: PKI.ManagedAPICryptFormatting
pecifies the format of the resulting formatted string.

Return Value

Type: String
Encoded and formatted string.
Exceptions
ExceptionCondition
ArgumentExceptionThe outputEncoding paramter contains invalid encoding flag.
See Also