Motacore
 
Motacore Key Generator Lite v1.x Help Documenation
Protect Your Applications

Motacore Key Generator Lite enables you to easily generate CD/DVD/Product keys. It also integrates with your VB.NET and C# applications providing an easy solution for providing Demo applications with the ability to unlock them with a product key.
The Type setting allows you to control what type of keys are generated.

AlphaNumeric
These keys contain both numbers and letters.
X605B-N7DNA-332V6-53NX2-IQCL7

Alphabetic
These keys contain only letters.
JHNTO-QGJHE-SFPBL-FLHNX-LUITB

Numeric
These keys contain only numbers.
52345-65640-50066-73110-25212

 
 
The Format section controls the keys format.

Delimiter
This is the character or characters that are used to create sections within the key.
X605B-N7DNA-332V6-53NX2-IQCL7
(Hyphen is the separator)

Add Delimiter After n Characters
The separator is added after this many characters within the key.
X605B-N7DNA-332V6-53NX2-IQCL7
(Hyphen separator is added after every 5th character)

Prefix
Any prefix you specify is added to the beginning of every key.
MOTACORE-X605B-N7DNA-332V6-53NX2-IQCL7
(The prefix "MOTACORE-" is used in this example)

Suffix
Any suffix you specify is added to the end of every key.
X605B-N7DNA-332V6-53NX2-IQCL7-MOTACORE
(The suffix "-MOTACORE" is used in this example)

The Generate section allows you to specify the number of keys to generate as well as the length of of keys.

Key Length
This controls the length of the keys generated.
X605B-N7DNA-332V6-53NX2-IQCL7
(Key Length of 25 is used in this example)

X605B-N7DNA-332V6-53NX2
(Key Length of 20 is used in this example)

Keys To Generate
This is the number of keys you'd like to generate. You can specify any number that you like as we've imposed no cap on the maximum number of keys.

Generate Button
Clicking this button will begin generating keys.
 
 
The Preview area gives you a peak at what the generated keys look like.

200 Limit
Since this section is just a peak, only the first 200 keys that were generated are displayed.

Save Button
This button allows you to save all of the generated keys to a file.

The following formats are currently supported:
- Plain Text (one key on each line in a plain text file)
- CSV (one key on each line surrounded by quotes with a comma after each key)
- XML
- Key Database (for .NET integration; see below)

Need a different format? Please let us know!
VB.NET & C# Integration. We use it and you can too!

Motacore Key Generator Lite provides you with the ability to easily integrate license protection into your .NET application.


Quickest Integration:

1. Add a reference to the included Motacore.Utility.dll class library
2. Save your generate keys in the "Key Database" format
3. Copy the k.dat (from step #2) to your applications executable directory
4. Call the method "ValidateKey" from within your app to verify the users key:

    Motacore.Utility.ValidateService valserv = new Motacore.Utility.ValidateService();
    bool isValid = valserv.ValidateKey(salt, key);

In the above example, you include the k.dat (secure key database) and Motacore.Utility.dll with your application. You prompt the user for their license key and then call the ValidateKey method to verify that it's legit. You respond depending on the verification result of the key (ie., key is valid you unlock the app; key is invalid you notify the user).


Slightly Longer Integration:

If you would prefer not to include the k.dat (secure key database) with your application, then the easiest solution in this case is to create a Web service that your app calls to validate the key. This keeps the key database on your own server, rather than included with every installation of your application.

1. Create a new web method in your web service
2. Add a reference to the included Motacore.Utility.dll class library
3. Save your generate keys in the "Key Database" format
4. Copy the k.dat (from step #3) to your web services directory
5. Have the client application make a request to your web service to validate the key
6. Within your web method, validate the users key:

    Motacore.Utility.ValidateService valserv = new Motacore.Utility.ValidateService();
    bool isValid = valserv.ValidateKey(salt, key);
    return isValid;

7. The client application handles the true or false returned by the web service


 



Copyright ©2007-2012 Motacore, LLC. All Rights Reserved.