Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
BarcodeReader
PropertiesProperty | Description |
---|---|
_bUseFullFeature |
If set to true , use the full-featured WASM module. |
engineResourcePath |
Gets or sets the engine (WASM) location. |
productKeys |
Gets or sets the Dynamsoft Barcode Reader SDK product keys. |
version |
Gets current version. |
licenseServer |
Gets or sets the URL of the license server(s) used for authentication and tracking. |
handshakeCode |
Gets or sets the handshake code to interact with the license server(s). |
sessionPassword |
Gets or sets the session password of the handshake code set in license tracking server. |
Set usage of compact or full featured SDK. If set to true
, use the fully-featured WASM module.
Note: this API may change in the future.
Dynamsoft.DBR.BarcodeReader._bUseFullFeature = Boolean
false
for web
Dynamsoft.DBR.BarcodeReader._bUseFullFeature = true;
await Dynamsoft.DBR.BarcodeReader.loadWasm();
loadWasm
.Get or set the Barcode Reader SDK engine path. The path should lead to a folder containing the JS and WASM files for distribution.
engineResourcePath = value
value
string
Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/";
await Dynamsoft.DBR.BarcodeReader.loadWasm();
Get or set the Barcode Reader SDK product key. From version 8.0, the product key can also be a handshakeCode. Please visit our user portal to obtain a trial license.
productKeys() returns string
string
productKeys(value) returns void
value
string
void
In the
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
In JavaScript
Dynamsoft.DBR.BarcodeReader.productKeys = "1000**601-1000***44"; // Set the handshakeCode
Get the currently used version of Barcode Reader SDK.
version returns string
string
Gets or sets the URL of the license tracking server used to authenticate the license (handshakeCode) and track barcode reading usage. When set to null (default value), it will connect to Dynamsoft’s license tracking servers for online verification. A self hosting option is available. Learn more about License Tracking Server 2.0. Set this API before calling createInstance.
licenseServer() returns string
string
licenseServer(value) returns void
value
string
void
Dynamsoft.DBR.BarcodeReader.licenseServer = ["https://your.mainServer.com", "https://your.backupServer.com"];
await Dynamsoft.DBR.BarcodeReader.loadWasm();
Get or set the handshakeCode. Learn more about What is handshakeCode. Set this API before calling createInstance.
The API productKeys can be used to set the handshakeCode as well but we recommend using this new API instead.
handshakeCode() returns string
string
handshakeCode(value) returns void
value
string
void
Dynamsoft.DBR.BarcodeReader.handshakeCode = "1000**601-1000***44";
Get or set the session password used for authentication of the license (handshake code) associated with the application. Learn more about session password in License Tracking Server 2.0. Set this API before calling createInstance.
sessionPassword() returns string
string
sessionPassword(value) returns void
value
string
void
Dynamsoft.DBR.BarcodeReader.sessionPassword = "MyPassw0rd";
await Dynamsoft.DBR.BarcodeReader.loadWasm();
latest version