Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
From version 8.2, if you are using the mobile edition, please check how to apply for a private trial license. For other editions, please follow the steps below:
You can log in the customer portal and request for a trial extension online.
Note: If the trial license expires or it is missing, you can still get barcode reading results but partial of the result will be masked with “*”.
You can use initLicense()
or ProductKeys
to set the license.
Code snippet in C:
void *hBarcode = NULL;
hBarcode = DBR_CreateInstance();
DBR_InitLicense(hBarcode, "t0068NQAAAI8+mMcYRNwmijAzExhq******");
DBR_DestroyInstance(hBarcode);
Code snippet in C++:
CBarcodeReader reader = new CBarcodeReader();
reader.InitLicense("t0068NQAAAI8+mMcYRNwmijAzExhq******");
Code snippet in C#:
BarcodeReader reader = new BarcodeReader();
reader.ProductKeys = "t0068NQAAAI8+mMcYRNwmijAzExhq******";
Code snippet in VB. NET:
Dim reader As BarcodeReader = New Dynamsoft.Barcode.BarcodeReader()
reader.ProductKeys = "t0068NQAAAI8+mMcYRNwmijAzExhq******"
Code snippet in Java:
BarcodeReader mBarcodeReader;
mBarcodeReader = new BarcodeReader("t0068NQAAAI8+mMcYRNwmijAzExhq******");
Code snippet in PHP:
$br = new BarcodeReader();
$br->initLicense("t0068NQAAAI8+mMcYRNwmijAzExhq******");
Code snippet in Python:
reader = BarcodeReader()
reader.init_license("t0068NQAAAI8+mMcYRNwmijAzExhq******")
Code snippet in JavaScript:
< script src = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@{version-number}/dist/dbr.js"
data - productKeys = "t0068NQAAAI8+mMcYRNwmijAzExhq******" > < /script>
Then please save and rebuild your application.
From version 8.2, the mobile edition comes with a 7-day free trial license called a “public trial” license which is built into the product itself. When this public trial license expires, you can get a 30-day free trial license called a “private trial” license following the steps below
NOTE
In case a private trial license fails to be generated, Dynamsoft Support team will get in touch with you.
mbarcodeReader = new BarcodeReader();
DMLTSConnectionParameters ltspar = new DMLTSConnectionParameters();
ltspar.organizationID = "Your-organization-id"; //automatically generated and sent to you by our system
mbarcodeReader.initLicenseFromLTS(ltspar, new DBRLTSLicenseVerificationListener() {
@Override
public void LTSLicenseVerificationCallback(boolean b, Exception e) {
if (e != null){ Log.i("lts error: ", e.getMessage()); }
}
});
DynamsoftBarcodeReader *barcodeReader;
iDMLTSConnectionParameters* lts = [[iDMLTSConnectionParameters alloc] init];
lts.organizationID = @"Your-organization-id"; //automatically generated and sent to you by our system
barcodeReader = [[DynamsoftBarcodeReader alloc] initLicenseFromLTS:lts verificationDelegate:self];
* (void)LTSLicenseVerificationCallback:(bool)isSuccess error:(NSError * _Nullable)error
{
//TODO add your code for license verification
}
version 8.2.0