dotNet Protector API

ActivationManager.GenerateUsbLicense Method (ActivationRequest, Int32, Boolean, Int64)

Builds a license key from ActivationRequest

[Visual Basic]
Overloads Public Function GenerateUsbLicense( _
   ByVal req As ActivationRequest, _
   ByVal tolerance As Integer, _
   ByVal ignoreMinor As Boolean, _
   ByVal RuntimeLicensesLimit As Long _
) As String
[C#]
public string GenerateUsbLicense(
   ActivationRequest req,
   int tolerance,
   bool ignoreMinor,
   long RuntimeLicensesLimit
);

Parameters

req
ActivationRequest
tolerance
number (0-7) of accepted hardware differences
ignoreMinor
true Minor sofware version should be ignored
RuntimeLicensesLimit
Limits Runtime generated licenses (FileTime format) Usefull only when a licenced component should build a runtime licence 0 : a runtime license with no limit will be generated other value : limit date converted to FileTime format

Return Value

9x6 encoded license string

See Also

ActivationManager Class | PvLogiciels.dotNetProtector Namespace | ActivationManager.GenerateUsbLicense Overload List

Send comments about this topic to PV Logiciels