TestPublicationKey()

Syntax:

TestPublicationKey( Test )

Return:

true if the given key is valid. Otherwise, false.

Parameters:

Test – the unlock code to be tested. Test must be a string or a variable containing a string. This parameter is required.

Remarks:

This function will test if a give unlock key is valid for this publication on the current computer. This can be used to "unlock" evaluation publications.

In order to operate correctly the Registration ID option must be enabled on the Security tab of the publication settings when the publication is created.

image\Script_Button.jpgExamples