SetProductData static method
Embeds the Product.dat file in the application where productData
is the
content of the Product.dat file.
It can be used instead of SetProductFile() in case you want to embed the Product.dat file in your application. This function must be called on every start of your program before any other functions are called.
The function throws a LexActivatorException on error.
Implementation
static int SetProductData({required String productData}) {
int status = _lexActivatorNative.SetProductData(productData);
if (LexStatusCodes.LA_OK != status) {
throw LexActivatorException(status);
}
return status;
}