next up previous contents
Next: Events Up: Methods Previous: showRegisterDlg   Contents


register

Description

Register the application or screen saver. You can create serial numbers by using the serial number creator.


Syntax

Application.Expiry.register(username, sn, password)


Parameters

username
String. Specifies the user name
sn
String. Specifies the serial number
password
String. Specifies the password


Returns

Boolean. returns true if the registration is successful.


Examples

Application.Expiry.register("topcmm",
    "0000000000",
    "LYCRYVUBKQDG8WW9");
Notice: the password is "LYCR-YVUB-KQDG-8WW9",
you must remove the "-" when you pass it to the method.




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.