Last Modified October 2, 2026
- Home
- Guides
- TurnKey Activation
- Logic Flow Overview
TurnKey Activation - Logic Flow Overview
A straightforward implementation of the software_DNA protection requires only a few blocks of codes that must be
embedded in the software application and which interact with the DNA Library as well as one dialog screen to capture
License Information from the User.
Each step is described in the following sections.
At Application Start-up
Authenticate the DNA Library
Set the CDM License File location and DNA Properties
Call DNA_ProtectionOK () which will:
- Check if a valid License file exists
- Implement the Activation and Re-Activation logic with built-in user dialog screens
- Activate or Re-Activate the License
- Run the Application, or display error information
To De-Activate the License
Runtime Guards (optional)
- Call
DNA_Validate() API during runtime
See Runtime Guards
for details.
Many alternative implementations are possible. Several of these such as "Silent Evaluations"
are described under the TurnKey Alternative Implementations
article.
You have full flexibility to decide what actions to take if any step is not successful. For example,
if the application is not successfully activated:
- The application could stop executing
- The application could run in DEMO mode, and provide a Activate Now
button or menu item
- The application could display a Evaluate button or menu item
- The Software could execute again the
DNA_ProtectionOK() API call
For most of the API calls, you will use the <Product_Key> for your Product.
The <Product_Key> is emailed to you when you create a Product Configuration in the DNA Control Panel
and is available under Product Configuration in the DNA Product Control Panel.