Click or drag to resize

SecretParserCreateString Method

Creates a string representation of a secret byte array.

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public static string CreateString(
	byte[] data,
	GameRegion region
)

Parameters

data
Type: SystemByte
The secret data
region
Type: Zyrenth.ZoraGameRegion
The region of the game

Return Value

Type: String
A representation of the secret data
Exceptions
ExceptionCondition
SecretException The data contains values that cannot be used in a secret.
Remarks
This method always returns the secret formatted as →N♥Nh
Examples
C#
byte[] rawSecret = new byte[]
{
     4, 37, 51, 36, 63,
    61, 51, 10, 44, 39,
     3,  0, 52, 21, 48,
    55,  9, 45, 59, 55
};
string secret = SecretParser.CreateString(rawSecret, GameRegion.US);
// H~2:@ ←2♦yq GB3●( 6♥?↑6
See Also