JBLicense
LicenseGenerateKey Method |
Generates the key.
Namespace: JustinBack
Assembly: JBLicense.ACPU (in JBLicense.ACPU.dll) Version: 1.0.0.7
Syntax
public static Task GenerateKey( Action<KeyGenerationResult> callback, int amount = 1 )
Public Shared Function GenerateKey ( callback As Action(Of KeyGenerationResult), Optional amount As Integer = 1 ) As Task
public: static Task^ GenerateKey( Action<KeyGenerationResult^>^ callback, int amount = 1 )
Parameters
- callback
- Type: SystemActionKeyGenerationResult
The callback. - amount (Optional)
- Type: SystemInt32
The amount of keys to generate.
Return Value
Type: Task[Missing <returns> documentation for "M:JustinBack.License.GenerateKey(System.Action{JustinBack.KeyGenerationResult},System.Int32)"]
Exceptions
Exception | Condition |
---|---|
Exception | JBLicense has not been initialized! Call SecureConnection() |
See Also