Knowledge Base

The leading provider of version control solutions and TWAIN SDKs

How to use license key

Please follow the steps below to license Dynamsoft Barcode Reader:

  1. 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 "***".
  2. 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.




Article Details

Last Updated
27th of August, 2015

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (1 vote)

100% thumbs up 0% thumbs down

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Continue