Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-25-2004, 10:15 PM
Member
 
Join Date: May 2004
Posts: 78
Default Serial numbers / registration

Hi - I'm a little bit puzzed about how to make a registration system.

I can use the default system as that works really well. However, I'm keen to change it slightly, and ideally use the registration data to display "Registered to xxx" on the front of my application. Is that possible?

I realise I can check if it is registered using Application.Expiry.isRegistered - but is it possible to get the username the application can be registered with?

Thanks. :P
__________________
:)
Reply With Quote
  #2 (permalink)  
Old 05-26-2004, 01:58 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Serial numbers / registration

"user name" and "serial number" are saved in registry, you get them using the "readProfile" method

Code:
var username = readProfile("Registration", "User Name");
var serialnumber = readProfile("Registration", "Serial number");
The registration code is encrypted, so you cannot get it.
Reply With Quote
  #3 (permalink)  
Old 05-26-2004, 07:09 PM
Member
 
Join Date: May 2004
Posts: 78
Default Re:Serial numbers / registration

Splendid - thanks for the information. ;D
__________________
:)
Reply With Quote
  #4 (permalink)  
Old 12-18-2004, 12:49 PM
Member
 
Join Date: May 2004
Posts: 78
Default Re:Serial numbers / registration

Just coming back to this....

I can get my application to display the User Name - works ideally. However, I cannot get the same code to work for the Serial Number. This produces an error.

I'm using the code as suggested above -
Code:
var username = readProfile("Registration", "User Name");
var serialnumber = readProfile("Registration", "Serial number");
__________________
:)
Reply With Quote
  #5 (permalink)  
Old 12-19-2004, 07:13 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Serial numbers / registration

Could you send us a sample, it's very hard for us to find out the problem without a sample.

Thank you.
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 03:01 AM.


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.