Protect your app and unlock all software_DNA licensing features using just a few lines of code.
Our versatile TurnKey Activation API handles the complete activation flow—complete with ready-to-use, multi-platform GUI screens for Windows, macOS, Linux, and mobile devices.
Via your DNA Control Panel account, you have access to multiple resources which provide all you need to quickly implement software_DNA:
...
using softworkz;
public static string ProductKey = ;
public static string cdmPathName = ;
// set the location of the CDM License file
DNA.DNA_SetProperties("CDMPathName”,cdmPathName);
if (DNA.DNA_ProtectionOK(ProductKey, 1, 0) > 0)
{
// the activation failed :
// exit the application, or
// run in demo mode with limited features
...
}
else
{
// activation / validation was a sucess,
// let the application run
...
}