License.UseKey Method

JustinBack

LicenseUseKey Method

Uses the key.

Namespace:  JustinBack
Assembly:  JBLicense.ACPU (in JBLicense.ACPU.dll) Version: 1.0.0.7
Syntax
public static Task UseKey(
	string key,
	int customer,
	Action<KeyActivationResult> callback
)
Public Shared Function UseKey ( 
	key As String,
	customer As Integer,
	callback As Action(Of KeyActivationResult)
) As Task
public:
static Task^ UseKey(
	String^ key, 
	int customer, 
	Action<KeyActivationResult^>^ callback
)

Parameters

key
Type: SystemString
The key.
customer
Type: SystemInt32
The customer id.
callback
Type: SystemActionKeyActivationResult
The callback.

Return Value

Type: Task

[Missing <returns> documentation for "M:JustinBack.License.UseKey(System.String,System.Int32,System.Action{JustinBack.KeyActivationResult})"]

Exceptions
ExceptionCondition
ExceptionJBLicense has not been initialized! Call SecureConnection()
See Also