MENU
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

How to set trial license

To use a trial license, you can follow the steps below:

Get a trial license key.

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 “*”.

Update the license key in source code.

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.

This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

latest version

    • Latest Version
    • version 7.6
    • version 7.5
    Change +
    © 2003–2020 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support