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 string GenerateLicenseKey(
	LicenseSettings licenseSettings,
	int groupSeparationLength,
	string groupSeparatorText
)
Visual Basic
Public Function GenerateLicenseKey ( _
	licenseSettings As LicenseSettings, _
	groupSeparationLength As Integer, _
	groupSeparatorText As String _
) As String
Visual C++
public:
String^ GenerateLicenseKey(
	LicenseSettings^ licenseSettings, 
	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.
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