License.SetMetadata Method

JustinBack

LicenseSetMetadata Method

Sets the metadata.

Namespace:  JustinBack
Assembly:  JBLicense.ACPU (in JBLicense.ACPU.dll) Version: 1.0.0.7
Syntax
public static Task SetMetadata(
	string json,
	LicenseMetadataType Type,
	Action<bool> callback,
	int customer = 0,
	int product = 0,
	int license = 0
)
Public Shared Function SetMetadata ( 
	json As String,
	Type As LicenseMetadataType,
	callback As Action(Of Boolean),
	Optional customer As Integer = 0,
	Optional product As Integer = 0,
	Optional license As Integer = 0
) As Task
public:
static Task^ SetMetadata(
	String^ json, 
	LicenseMetadataType Type, 
	Action<bool>^ callback, 
	int customer = 0, 
	int product = 0, 
	int license = 0
)

Parameters

json
Type: SystemString
The json string.
Type
Type: JustinBackLicenseMetadataType
The MetaData type.
callback
Type: SystemActionBoolean
The callback.
customer (Optional)
Type: SystemInt32
The customer id.
product (Optional)
Type: SystemInt32
The product id.
license (Optional)
Type: SystemInt32
The license id.

Return Value

Type: Task

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

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