Use a trial key

  1. Get a trial license key.

    If you installed Dynamsoft Barcode Reader 30-day free trial, it comes with a 30-day trial license by default.

    For Windows Edition, you can find the license key in the License Manager program at /{INSTALLATION FOLDER}/LicenseManager.exe.

    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 may log in the customer portal and request for a trial extension online.

  2. Update the license key in source code.

    You can use initLicense() or ProductKeys to set the license.

    C
    C++
    C#
    VB.Net
    Java
    PHP
    Python
    void *hBarcode = NULL;
    hBarcode = DBR_CreateInstance();
    DBR_InitLicense(hBarcode, "t0068NQAAAI8+mMcYRNwmijAzExhq******");
    DBR_DestroyInstance(hBarcode);
    CBarcodeReader reader = new CBarcodeReader();
    reader.InitLicense("t0068NQAAAI8+mMcYRNwmijAzExhq******");
    BarcodeReader reader = new BarcodeReader();
    reader.ProductKeys = "t0068NQAAAI8+mMcYRNwmijAzExhq******";
    Dim reader As BarcodeReader = New Dynamsoft.Barcode.BarcodeReader()
    reader.ProductKeys = "t0068NQAAAI8+mMcYRNwmijAzExhq******"
    BarcodeReader mBarcodeReader;
    mBarcodeReader = new BarcodeReader("t0068NQAAAI8+mMcYRNwmijAzExhq******");
    $br = new BarcodeReader();
    $br->initLicense("t0068NQAAAI8+mMcYRNwmijAzExhq******");
    def initLicense(license):
        dbr.initLicense(license)
    
    initLicense("t0068NQAAAI8+mMcYRNwmijAzExhq******")

  3. Save and rebuild your application.

results matching ""

    No results matching ""