diff --git a/about/license.md b/about/license.md index 7dd93e42..94084006 100644 --- a/about/license.md +++ b/about/license.md @@ -10,62 +10,55 @@ description: Dynamic Web TWAIN SDK Documentation License Page # License -## How do I get a trial License +## Trial License -Please visit our customer portal to request for a trial license. +### Request trial license -## Full licenses +You can request a trial license of Dynamic Web TWAIN via our customer portal or [contacting support](https://www.dynamsoft.com/company/contact/). -Dynamic Web TWAIN has the following licensing options: +### Update trial license -### Per Client Device / Per Page +You can set the new key via the `ProductKey` API. -For Per Client Device/ Per Page license, you need to use organizationID to set. +1. Open `dynamsoft.webtwain.config.js` from your local project or search `ProductKey` to locate the code for license setting. -``` javascript -Dynamsoft.DWT.organizationID = "123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID -``` +2. Update `ProductKey` in the code. -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 What is a DLS + ```javascript + Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******'; // update the ProductKey with yours + ``` -LTS supports two deployment methods: Dynamsoft-hosting and Self-hosting. See How secure is the Dynamsoft License Server +3. Refresh your scan page and try again. -If you use Self-hosting, you also need to set licenseServer +## Full license -``` javascript -Dynamsoft.DWT.licenseServer = ["https://your.mainServer.com"]; -Dynamsoft.DWT.organizationID = "123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID -``` +You can find all the full licenses you own via our customer portal. -### Per Server +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+). -For Per Server license, you need to use ProductKey to set. +### Update ProductKey -In most cases, you can just make the change in the file `dynamsoft.webtwain.config.js` . +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. ``` javascript -// If you have multiple license keys, just separate them with semicolons. -Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******; t0076lQAAAGNcO61He******'; +Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******'; // update the ProductKey with yours ``` -If it is set elsewhere, you need to find it and replace it. For example, if you are making use of the dwt package ( `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. - -### Other Licenses +If you have multiple license keys, separate them with semicolons like below: -The license setting way is the same as Per Server License, please refer to the above Per Server License section. +``` javascript -#### Notes: -Please note that `DLS` license organizationID and ProductKey cannot be used together. And you need to connect to `DLS` to track license usage. +Dynamsoft.DWT.ProductKey = 't0076lQAAAGNcO61He******; t0076lQAAAGNcO61He******'; +``` -All license usage data is submitted to the `DLS` hosted by Dynamsoft. You can +### Update organizationID -* View activated license items -* View the license usage statistics -* Get notified about license status +If you are using an **organizationID**, you can simply update the `organizationID` in your code. -> Read more about the mechanism behind license tracking. +``` javascript +Dynamsoft.DWT.organizationID = "123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID +``` -## Terms +## License Agreement View the Dynamic Web TWAIN License Agreement. -