yucad3d

CadRegister

Register the SDK licence.

std::int32_t CadRegister ( const char* szToken );

Parameters

szToken (const char*)
NUL-terminated UTF-8 string.

Return Value

Nonzero (TRUE) on success, 0 (FALSE) on failure.

Remarks

`szToken` is the Ed25519 token minted by the vendor (tools/licensegen). Returns the licence edition (>= 1) on success, or 0 if the token is missing / malformed / forged / expired. Call once at application start-up; a valid token removes the watermark for every window, export and print in this process.

See Also