Skip to content

Commit ee62a9c

Browse files
authored
Merge pull request #167 from RachyJ/patch-14
Update license.md
2 parents 50cbafd + 60620a4 commit ee62a9c

File tree

1 file changed

+27
-34
lines changed

1 file changed

+27
-34
lines changed

about/license.md

Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,62 +10,55 @@ description: Dynamic Web TWAIN SDK Documentation License Page
1010

1111
# License
1212

13-
## How do I get a trial License
13+
## Trial License
1414

15-
Please visit our <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=latest&product=dwt" target="_blank">customer portal</a> to request for a trial license.
15+
### Request trial license
1616

17-
## Full licenses
17+
You can request a trial license of Dynamic Web TWAIN via our <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=latest&product=dwt" target="_blank">customer portal</a> or [contacting support](https://www.dynamsoft.com/company/contact/).
1818

19-
Dynamic Web TWAIN has the following licensing options:
19+
### Update trial license
2020

21-
### <a href="https://www.dynamsoft.com/Products/WebTWAIN_License.aspx#per_browser_client" target="_blank">Per Client Device</a> / <a href="https://www.dynamsoft.com/Products/WebTWAIN_License.aspx#per_page" target="_blank">Per Page</a>
21+
You can set the new key via the `ProductKey` API.
2222

23-
For Per Client Device/ Per Page license, you need to use <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#organizationid" target="_blank">organizationID</a> to set.
23+
1. Open `dynamsoft.webtwain.config.js` from your local project or search `ProductKey` to locate the code for license setting.
2424

25-
``` javascript
26-
Dynamsoft.DWT.organizationID = "123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID
27-
```
25+
2. Update `ProductKey` in the code.
2826

29-
Please note that this licensing mode is only supported from `DWT` 17.0 and needs to be used with Dynamsoft License Server (`DLS` for short). See more about <a href="https://www.dynamsoft.com/license-tracking/docs/selfhosting/managelts.html?ver=latest" target="_blank">What is a DLS</a>
27+
```javascript
28+
Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******'; // update the ProductKey with yours
29+
```
3030

31-
LTS supports two deployment methods: <a href="https://www.dynamsoft.com/license-tracking/docs/dshosting/index.html?ver=latest" target="_blank">Dynamsoft-hosting</a> and <a href="https://www.dynamsoft.com/license-tracking/docs/selfhosting/index.html?ver=latest" target="_blank">Self-hosting</a>. See <a href="https://www.dynamsoft.com/license-server/docs/about/licensefaq.html?ver=latest#how-secure-is-the-dynamsoft-license-server" target="_blank">How secure is the Dynamsoft License Server</a>
31+
3. Refresh your scan page and try again.
3232

33-
If you use Self-hosting, you also need to set <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#licenseserver" target="_blank">licenseServer</a>
33+
## Full license
3434

35-
``` javascript
36-
Dynamsoft.DWT.licenseServer = ["https://your.mainServer.com"];
37-
Dynamsoft.DWT.organizationID = "123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID
38-
```
35+
You can find all the full licenses you own via our <a href="https://www.dynamsoft.com/customer/license/fullLicense" target="_blank">customer portal</a>.
3936

40-
### <a href="https://www.dynamsoft.com/Products/WebTWAIN_License.aspx#per_server" target="_blank">Per Server</a>
37+
Depending on the type of full license you are using, you can add/update the full license via the `ProductKey` or `organizationID` API (available for Dynamic Web TWAIN v17.0+).
4138

42-
For <a href="https://www.dynamsoft.com/Products/WebTWAIN_License.aspx#per_server" target="_blank">Per Server</a> license, you need to use <a href="{{site.info}}api/WebTwain_Util.html#productkey" target="_blank">ProductKey</a> to set.
39+
### Update ProductKey
4340

44-
In most cases, you can just make the change in the file `dynamsoft.webtwain.config.js` .
41+
If you are using a **ProductKey**, you can search `ProductKey` to locate the code for license setting which resides in the `dynamsoft.webtwain.config.js` file for most cases.
4542

4643
``` javascript
47-
// If you have multiple license keys, just separate them with semicolons.
48-
Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******; t0076lQAAAGNcO61He******';
44+
Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******'; // update the ProductKey with yours
4945
```
5046

51-
If it is set elsewhere, you need to find it and replace it. For example, if you are making use of the <a href="https://www.npmjs.com/package/dwt" target="_blank">dwt package</a> ( `dynamsoft.webtwain.min.js` or `dynamsoft.webtwain.min.mjs` ), the file `dynamsoft.webtwain.config.js` doesn't exist and you should already have the above line of code in your own JavaScript where you can update the license when needed.
52-
53-
### Other Licenses
47+
If you have multiple license keys, separate them with semicolons like below:
5448

55-
The license setting way is the same as Per Server License, please refer to the above Per Server License section.
49+
``` javascript
5650

57-
#### Notes:
58-
Please note that `DLS` license <strong>organizationID and ProductKey cannot be used together</strong>. And you need to connect to `DLS` to track license usage.
51+
Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******; t0076lQAAAGNcO61He******';
52+
```
5953

60-
All license usage data is submitted to the `DLS` hosted by Dynamsoft. You can
54+
### Update organizationID
6155

62-
* <a href="https://www.dynamsoft.com/license-tracking/docs/common/licenseitems.html" target="_blank">View activated license items</a>
63-
* <a href="https://www.dynamsoft.com/license-tracking/docs/common/statistics.html" target="_blank">View the license usage statistics</a>
64-
* <a href="https://www.dynamsoft.com/license-tracking/docs/common/usagealerts.html" target="_blank">Get notified about license status</a>
56+
If you are using an **organizationID**, you can simply update the `organizationID` in your code.
6557

66-
> Read more about <a href="https://www.dynamsoft.com/license-tracking/docs/common/mechanism.html" target="_blank">the mechanism</a> behind license tracking.
58+
``` javascript
59+
Dynamsoft.DWT.organizationID = "123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID
60+
```
6761

68-
## Terms
62+
## License Agreement
6963

7064
View the <a href="https://www.dynamsoft.com/Products/WebTwain_license.aspx" target="_blank">Dynamic Web TWAIN License Agreement</a>.
71-

0 commit comments

Comments
 (0)