Serial number masks are calculated by DeployLX when the license is edited in the DeployLX License Manager. As the license is modified and options changed, DeployLX will ask to recalculate the license masks. On occasion the serial numbers generated for the license will not match the masks.
There are two common reasons that the masks do not match the serial numbers.
By default code masks are set to recalculate themselves to any changes in the serial number or code. However when the prompt is shown the user has the option to select Don't Show Me Again, and the automatic recalculation is turned off.
Code written to generate serial numbers on demand or as part of an e-commerce system do not allow for extendable limits (such as time and use limits).
You can recalculate the masks by selecting Recalculate All Masks from the License tab on the upper ribbon.
If any license in the license file contains extendable limits that can be extended by code or serial number then serial numbers must reserve space for the initialization code even if the serial numbers do not initialize any limits.
Private LicenseKey key = New LicenseKey("Path to LSK keys file") key.DeployLxSerialNumbers = New String() { "Your DeployLX Serial Number." } Dim serialNumber As String = key.MakeSerialNumber( _ "PRO-", _ 1, _ SerialNumberFlags.None, _ -1, _ 0, _ -1, _ 0)
LicenseKey key = new LicenseKey( "Path to LSK keys file" ); key.DeployLxSerialNumbers = new string[] { "Your DeployLX Serial Number." }; string serialNumber = key.MakeSerialNumber( "PRO-", 1, SerialNumberFlags.None, -1, 0, -1, 0 );
Private LicenseKey key = New LicenseKey("Path to LSK keys file") key.DeployLxSerialNumbers = New String() { "Your DeployLX Serial Number." } Dim serialNumber As String = key.MakeSerialNumber( _ "PRO-", _ 1, _ SerialNumberFlags.None, _ ' Unused but reserved space for extendable limit. 0, _ 0, _ 0, _ 0)
LicenseKey key = new LicenseKey( "Path to LSK keys file" ); key.DeployLxSerialNumbers = new string[] { "Your DeployLX Serial Number." }; string serialNumber = key.MakeSerialNumber( "PRO-", 1, SerialNumberFlags.None, // Unused but reserved space for extendable limit. 0, 0, 0, 0 );