Since no tokens are used, it really just creates a random number. GenerateKey gkey gkey = new GenerateKey gkey.LicenseTemplate = ' xxxxxxxx-xxxx-xxxxxxxx-xxxx' gkey.MaxTokens = 0 gkey.UseBase10 = true gkey.UseBytes = true gkey.CreateKey finalkey = gkey.GetLicenseKey The above example shows how to create a license key that has no tokens, uses base 10 numbers, and uses bytes for the template definition. These two characters are the only two that are reserved.A sample of the template and the resulting license key for Byte values and Decimal numbers are: xxxxxxxx-xx-xxxxxxxx-x圆965891517-23A sample of the template and the resulting license key for Bit values and Hex numbers are: xxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxBC017-1-160C4With this library you can define the tokens that you want to replace real values with, such as product numbers, version numbers, serial numbers, or user counts. The c character defines a checksum character.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |