We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-07-25 08:15 AM
Hello,
Is there any function that will let us know if the user is on demo version?
Thanks
Kency
2024-07-26 10:07 AM
Something like this:
API_ProtectionInfo protectInfo;
auto err = ACAPI_Environment(APIEnv_ProtectionDataID, &protectInfo, 0);
return ((err != NoError) || ((protectInfo.protMode & APIPROT_TRIAL_MASK) != 0));