Description: This article is about a license key generation program. As you know when you get a software package it usually requires a license key. The keys that are generated show various pieces of information, such as product, customer and version. With this program and library you can create the key and later read it in to validate that the correct key was used. This is used not only for selling commercial products but also in deploying enterprise applications. With a license key you can turn features on and off for each customer, have product feature expire at the end of a demo period, or any other type of enabling or disabling you desire. Since I wanted to put this code in CodeProject I adhered to using NUnit as my unit testing tool, NDoc as my documentation tool, and FxCop as my code analyzer. In this project, I created an interactive test tool to test the various features of the library.
To Search:
File list (Check if you may need any files):
LicenseLayout2\doc
..............\...\contents.html
..............\...\Documentation.hhc
..............\...\Documentation.hhk
..............\...\Documentation.hhp
..............\...\Documentation.log
..............\...\index.html
..............\...\intevent.gif
..............\...\intfield.gif
..............\...\intmethod.gif
..............\...\intoperator.gif
..............\...\intproperty.gif
..............\...\LicenseKey.CharacterDatatype.CheckToken.html
..............\...\LicenseKey.CharacterDatatype.CheckTokenSize.html
..............\...\LicenseKey.CharacterDatatype.CreateStringRepresentation.html
..............\...\LicenseKey.CharacterDatatype.html
..............\...\LicenseKey.CharacterDatatypeConstructor.html
..............\...\LicenseKey.CharacterDatatypeMembers.html
..............\...\LicenseKey.CharacterDatatypeMethods.html
..............\...\LicenseKey.Checksum.Base10.html
..............\...\LicenseKey.Checksum.CalculateChecksum.html
..............\...\LicenseKey.Checksum.ChecksumAlgorithm.html
..............\...\LicenseKey.Checksum.ChecksumNumber.html
..............\...\LicenseKey.Checksum.ChecksumType.html
..............\...\LicenseKey.Checksum.CreateNumberString.html
..............\...\LicenseKey.Checksum.DoChecksum.html
..............\...\LicenseKey.Checksum.html
..............\...\LicenseKey.Checksum.UseBytes.html
..............\...\LicenseKey.ChecksumConstructor.html
..............\...\LicenseKey.ChecksumMembers.html
..............\...\LicenseKey.ChecksumMethods.html
..............\...\LicenseKey.ChecksumProperties.html
..............\...\LicenseKey.chm
..............\...\LicenseKey.Datatype.Base10.html
..............\...\LicenseKey.Datatype.CheckToken.html
..............\...\LicenseKey.Datatype.CheckTokenSize.html
..............\...\LicenseKey.Datatype.CreateStringRepresentation.html
..............\...\LicenseKey.Datatype.flagBase10.html
..............\...\LicenseKey.Datatype.flagBytes.html
..............\...\LicenseKey.Datatype.html
..............\...\LicenseKey.Datatype.UseBytes.html
..............\...\LicenseKey.DatatypeConstructor.html
..............\...\LicenseKey.DatatypeFields.html
..............\...\LicenseKey.DatatypeMembers.html
..............\...\LicenseKey.DatatypeMethods.html
..............\...\LicenseKey.DatatypeProperties.html
..............\...\LicenseKey.GenerateKey.AddToken.html
..............\...\LicenseKey.GenerateKey.Base10.html
..............\...\LicenseKey.GenerateKey.ChecksumAlgorithm.html
..............\...\LicenseKey.GenerateKey.CreateKey.html
..............\...\LicenseKey.GenerateKey.CreateNumberString.html
..............\...\LicenseKey.GenerateKey.CreateStringRepresentation.html
..............\...\LicenseKey.GenerateKey.DisassembleKey.html
..............\...\LicenseKey.GenerateKey.GetKeyError.html
..............\...\LicenseKey.GenerateKey.GetLicenseKey.html
..............\...\LicenseKey.GenerateKey.html
..............\...\LicenseKey.GenerateKey.LicenseTemplate.html
..............\...\LicenseKey.GenerateKey.MaxTokens.html
..............\...\LicenseKey.GenerateKey.TokenTypes.html
..............\...\LicenseKey.GenerateKey.UseBase10.html
..............\...\LicenseKey.GenerateKey.UseBytes.html
..............\...\LicenseKey.GenerateKeyConstructor.html
..............\...\LicenseKey.GenerateKeyMembers.html
..............\...\LicenseKey.GenerateKeyMethods.html
..............\...\LicenseKey.GenerateKeyProperties.html
..............\...\LicenseKey.Genkey.AddToken.html
..............\...\LicenseKey.Genkey.CreateKey.html
..............\...\LicenseKey.Genkey.CreateNumString.html
..............\...\LicenseKey.Genkey.FindToken.html
..............\...\LicenseKey.Genkey.GetKeyError.html
..............\...\LicenseKey.Genkey.getLicenseKey.html
..............\...\LicenseKey.Genkey.GetMaxTokens.html
..............\...\LicenseKey.Genkey.GetTemplate.html
..............\...\LicenseKey.Genkey.html
..............\...\LicenseKey.Genkey.SetMaxTokens.html
..............\...\LicenseKey.Genkey.SetTemplate.html
..............\...\LicenseKey.Genkey.SetTokenbase.html
..............\...\LicenseKey.Genkey.SetTok