static DataStoreDataCode CreateFromDataCodeString( const String & key, const String & dataCodeString );
Name | Description | |
---|---|---|
in | key | Key to use when calculating the checksum. Specify the access key of the title. |
in | dataCodeString | The datacode string. |
DataStoreDataCode
object. Creates a DataStoreDataCode
object from a datacode string.
When testing whether a datacode string is valid, lowercase characters are converted to uppercase characters, and characters that are suspected to be typos are converted to the appropriate characters. (I->1, Q->0, O->0, Z->2, S->5)
Use the IsValid
function after the object is generated to check whether the datacode string is valid.
IsValid, ToDataCodeString, DataStoreConstants::MAX_DATACODE_STR_LEN
CONFIDENTIAL