Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2004, 02:31 PM
Junior Member
 
Join Date: Jul 2004
Posts: 2
Default Can you explain about Registration and Serial Numbers?

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.
Reply With Quote
  #2 (permalink)  
Old 07-26-2004, 04:30 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Can you explain about Registration and Serial Numbers?

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.
Reply With Quote
  #3 (permalink)  
Old 07-26-2004, 09:50 PM
Junior Member
 
Join Date: Jul 2004
Posts: 2
Default Re:Can you explain about Registration and Serial Numbers?

Can you explain, how to do this. In the Help it's in whery poor words...
Thanks.
Reply With Quote
  #4 (permalink)  
Old 07-27-2004, 03:53 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Can you explain about Registration and Serial Numbers?

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;
}
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:32 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.