Skip to content

Commit 1e0e1f3

Browse files
authored
Update GeneralSettings.java
1 parent ca3ccd1 commit 1e0e1f3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

samples/GeneralSettings/src/main/java/GeneralSettings.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ public class GeneralSettings {
44
public static void main(String[] args) {
55
try {
66

7-
// 1.Initialize license.
8-
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
9-
// If you want to use an offline license, please contact Dynamsoft Support: https://www.dynamsoft.com/company/contact/
10-
// You can also request a 30-day trial license in the customer portal: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=java
11-
DMDLSConnectionParameters para = BarcodeReader.initDLSConnectionParameters();
12-
para.organizationID = "200001";
13-
14-
BarcodeReader.initLicenseFromDLS(para);
7+
// 1.Initialize license.
8+
// The organization id 200001 here will grant you a free public trial license. Note that network connection is required for this license to work.
9+
// You can also request a 30-day trial license in the customer portal: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=java
10+
BarcodeReader.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
1511

1612
// 2.Create an instance of Dynamsoft Barcode Reader.
1713
BarcodeReader dbr = new BarcodeReader();

0 commit comments

Comments
 (0)