Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Resource Base
Table of contents

License Initialization

Get a trial key

  • A time-limited public trial license is available for every new device for first use of Dynamsoft Document Normalizer. You can find the public trial license on the following parts of this page.
  • If your public trial key is expired, please visit Private Trial License Page to get a 30-day trial extension.

Get a full license

Initialize the license

The following code snippets are using the public trial license to initialize the license. You can replace the public trial license with your own license key.

  • Java-Android
  • Objective-C
  • Swift
  • C
  • C++
  • JavaScript
  1. LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", MainActivity.this, new LicenseVerificationListener() {
       @Override
       public void licenseVerificationCallback(boolean isSuccess, CoreException error) {
          if(!isSuccess){
             error.printStackTrace();
          }
       }
    });
    
  2. [DynamsoftLicenseManager initLicense:@"DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" verificationDelegate: self];
    - (void)licenseVerificationCallback:(BOOL)isSuccess error:(NSError *)error{
       // Add your code to execute when license verification call back is handled.
    }
    
  3. DynamsoftLicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", verificationDelegate: self)
    func licenseVerificationCallback(_ isSuccess: Bool, error: Error?) {
       // Add your code to execute when license verification call back is handled.
    }
    
  4. int errorCode = 0;
    char szErrorMsg[256];
    errorCode = DC_InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", szErrorMsg, 256);
    
  5. int errorCode = 0;
    char szErrorMsg[256];
    errorCode = CLicenseManager::InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", szErrorMsg, 256);
    if (errorCode != DM_OK)
       cout << szErrorMsg << endl;
    
  6. Dynamsoft.DDN.DocumentNormalizer.license = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9";
    

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 1.0.12
    • Version 1.0.11
    • Version 1.0.10
    • Version 1.0.0
    Change +
    © 2003–2023 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support