|
|||
|
It is an easy question, but for me it's important.
I've make an application and want to protect it from coping. If I sale my program, for example, I must give to the customer Serial and Activation keys. Can he Register my application with the same keys second (and so on) time on anather computer? Or meaby, i wrong, What I have to do in tis situation, explain. Thanks. |
|
|||
|
Yes, the sn and reg key can be used on another computer. But SWFKit provides a way to override the default lock system(Application.Expiry.onExpired). The 'DiskInfo.serialNumber" method can help you to make license keys can be only used on one computer.
|
|
|||
|
The sample shows how to make license keys based on the CD serial number(if your app is run from a CD-Rom) and the HDD serial number.
The "regCheck" function is the key function to verify the license keys. The function in the sample is too sample, it doesn't use any encryption functions. You should use the "Encryption" object to make license keys of high strength. E.g. The following function is much better Code:
function regCheck(HDDSn, CDRomSn, unlockKey)
{
var src = HDDSn + CDRomSn;
if (Encryption.blowfishEncode("mykey", src) == unlockKey)
return true;
return false;
}
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|