Application.Trial.activate() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Application.Trial Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Application.Trial.activate(serial:String):Boolean

Parameters
serial:String - Serial

Returns
A Boolean

Description
Attempts to remove the application's trial protection using the specified serial.

Notes
A boolean is returned indicating whether or not the activation was successful.

A .txt file including valid Serials shouldbe provided in the Zinc IDE. The correct format for the .txt file should be alphanumerical [a-zA-Z0-9] separated by CRLF characters (new lines).

For example:

SERIAL1ABCD
SERIAL2EFGH
SERIAL3IJKL

Example Code
if (mdm.Application.Trial.activate("ABC1234HB67N") == true){
    mdm.Dialogs.prompt("Your Software has been Activated");
} else {
    mdm.Dialogs.prompt("An incorrect serial has been entered");
}

mdm.Application.Trial Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page