Alasse
Alasse

Reputation: 361

Producing Product Key for Softwares

I am looking simple encryption functionality for my company's products. I am not looking for complicated encryptions. Just simple keys to keep things okay for both side, my company and customers. Company will have C# application to produce keys, then we will send keys to customers. When user opened key producer application, he/she will select products we sold, and type customer key. And program will produce the key.

Customer id is an integer of 6 characters. (Example: 103499)

Product id are string(can be both integer and char) of 4 characters.(Example: PRD3)

Also program will have an expiration date. (Example: 10/10/2013)

Once customers enter this key, product updates itself to use enabled function in the key.

I don't have much information about encryption, so i would appreciate your help.

Regards

Upvotes: 0

Views: 151

Answers (2)

Alasse
Alasse

Reputation: 361

I decided making it with AES encryption and it worked well for my purpose. Thanks for your asistance!

I used Using AES encryption in C# topic as reference.

Upvotes: 0

bateloche
bateloche

Reputation: 709

You can use a public/private key method, this way you'll have a public key and the product key will act as the private one.

This article should be a good start: http://msdn.microsoft.com/en-us/library/5e9ft273.aspx

Upvotes: 1

Related Questions