Program.cs
/// <summary>
/// Parse an argument to see if it is a 32-byte seed in hex format (64-characters),
/// optionally prefixed with "0x"
/// </summary>
/// <param name="arg"></param>
/// <returns>A 32-byte string if a valid hex seed was read, or null otherwise.</returns>
Parse an argument to see if it is a 32-byte seed in hex format (64-characters),
optionally prefixed with "0x"
Parse an argument to see if it is a 32 - byte seed in hex format ( 64 - characters ) optionally prefixed with " 0x "
static byte[] Parse32ByteSeedFromHexFormat(string arg)
        {
            if (arg.Length == 66 && arg.StartsWith("0x"))
            {
                arg = arg.Substring(2);
            }
            return StringToByteArray(arg);
        }
static byte [ ] Parse32ByteSeedFromHexFormat ( string arg ) { if ( arg . Length == 66 && arg . StartsWith ( " " ) ) { arg = arg . Substring ( 2 ) ; } return StringToByteArray ( arg ) ; }
Parse an argument to see if it is a 32-byte seed in hex format (64-characters),
optionally prefixed with "0x"
Parse an argument to see if it is a 32 - byte seed in hex format ( 64 - characters ) optionally prefixed with " 0x "
A 32-byte string if a valid hex seed was read, or null otherwise.
A 32 - byte string if a valid hex seed was read or null otherwise .
arg
string
None