Generates a license key for the specified licenseSettings, groupSeparationLength and groupSeparatorText.

Namespace: SimpleMode.SecureLicenseManager.LicenseGenerator
Assembly: SimpleMode.SecureLicenseManager.LicenseGenerator (in SimpleMode.SecureLicenseManager.LicenseGenerator.dll) Version: 1.5.5120.0 (1.5.5120.0)

Syntax

C#
public void GenerateLicenseKey(
	LicenseSettings licenseSettings,
	GenerateLicenseKeyDelegate generateLicenseKeyDelegate,
	int numberOfLicenseKeys,
	int groupSeparationLength,
	string groupSeparatorText
)
Visual Basic
Public Sub GenerateLicenseKey ( _
	licenseSettings As LicenseSettings, _
	generateLicenseKeyDelegate As GenerateLicenseKeyDelegate, _
	numberOfLicenseKeys As Integer, _
	groupSeparationLength As Integer, _
	groupSeparatorText As String _
)
Visual C++
public:
void GenerateLicenseKey(
	LicenseSettings^ licenseSettings, 
	GenerateLicenseKeyDelegate^ generateLicenseKeyDelegate, 
	int numberOfLicenseKeys, 
	int groupSeparationLength, 
	String^ groupSeparatorText
)

Parameters

licenseSettings
Type: SimpleMode.SecureLicenseManager..::..LicenseSettings
The license setting instance that holds information about the options that are selected for a licensee.
generateLicenseKeyDelegate
Type: SimpleMode.SecureLicenseManager.LicenseGenerator..::..GenerateLicenseKeyDelegate
A callback delegate that is called when a single license key is generated. This callback delegate is useful when generating large number of license keys in one call.
numberOfLicenseKeys
Type: System..::..Int32

[Missing <param name="numberOfLicenseKeys"/> documentation for "M:SimpleMode.SecureLicenseManager.LicenseGenerator.SecureLicenseGenerator.GenerateLicenseKey(SimpleMode.SecureLicenseManager.LicenseSettings,SimpleMode.SecureLicenseManager.LicenseGenerator.GenerateLicenseKeyDelegate,System.Int32,System.Int32,System.String)"]

groupSeparationLength
Type: System..::..Int32
The number of characters to group and separate in the license key
groupSeparatorText
Type: System..::..String
The text/character to insert between each group separator.

Return Value

The string value of the generated license key.

See Also