license key?

YD2

New member
Joined
Oct 2, 2005
Messages
1
Programming Experience
1-3
[FONT=Courier, Monospaced]I'm looking for an example of .net function that translates several var into one license key:

[/FONT]
[FONT=Courier, Monospaced]company name
date[/FONT]
[FONT=Courier, Monospaced]number of users

[/FONT]
[FONT=Courier, Monospaced]----> LICENSE KEY: XXXX-XXXX-XXXX-XXXX (...)

[/FONT]
[FONT=Courier, Monospaced]
I don't understand how you can encode that information in a serie of numbers?
[/FONT]
 
Can you set the Format of a SHA1 Encrypted String ?

(i will have to look for a SHA1 Sample)

[edit]

Another question just come over me: When the User registed himself, how do you save the information ? Do you create a Reg-Entry with those decrypted/encrypted Informations ?
 
Save the ENCRYPTED information in the registry. Use a PRIVATE function to encrypt or decrypt a string.

Each time the user log on, check to see if variables is still the same (for example processor id).

Finally I would recommend that you use dotfuscator to obscure your code (.Net programs can easily be reverse-engineered, due to it's OO nature), since you would not want anyone being able to reverse engineer your app and getting their paws on your encryption/decryption algorithms and keygen criteria.
 
Back
Top