Please follow the steps below to license Dynamsoft Barcode Reader:
-
Get license key(s)
For paid customers, you should get an email with the full license and the download link of the full version installer. If not, please contact sales[at]dynamsoft.com.
For trial users, you can get the trial licenses at the installation directory or MyTrialLicenses site.
- For Windows Edition, the licenses can be found at /{INSTALLATION FOLDER}/LicenseManager.exe.
- For JavaScript Edition, the license key can be found in the /{INSTALLATION FOLDER}/DBRResources\dynamsoft.barcodereader.config.js.
- For Mac Edition, the licenses can be found at /{INSTALLATION FOLDER}/BarcodeReaderTrialLic.txt.
- For Linux and Mobile Edition, please contact us at support[at]dynamsoft.com for license extension.
NOTE: If the trial license expires or the license is missing, you can still get the barcode reading results but some part of the content will be replaced with "***". -
Change Source Code
License the SDK through source code. If you have more than one license, please separate them via ';'
C:
DBR_InitLicense("88FFAA0******;9C42D5D******");
C++:
CBarcodeReader reader; reader.InitLicense("88FFAA0******;9C42D5D******");
ActiveX/COM:
Dim oBarcodeReader As New BarcodeReader oBarcodeReader.InitLicense "88FFAA0******;9C42D5D******"
C#:
BarcodeReader reader = new BarcodeReader(); reader.LicenseKeys = "88FFAA0******;9C42D5D******";
VB.NET:
Dim reader As BarcodeReader = New Dynamsoft.Barcode.BarcodeReader() reader.LicenseKeys = "88FFAA0******;9C42D5D******"
PHP:
$br = new BarcodeReader(); $br->initLicense("88FFAA0******;9C42D5D******");
iOS SDK:
BarcodeReader *br; br = [[BarcodeReader alloc] initWithLicense:@"0C85972******"];
Android SDK:
BarcodeReader mBarcodeReader; mBarcodeReader = new BarcodeReader("B8C43F6******");
JavaScript SDK:
// In the dynamsoft.barcodereader.js file dynamsoft.dbrEnv.productKey= 't0068NQ******';
Save and rebuild your application.
If you need any assistance or have any problem, please feel free to contact us.