-
Notifications
You must be signed in to change notification settings - Fork 1
Anyline License How To
peterAnyline edited this page Nov 11, 2020
·
3 revisions
Starting with Anyline 26, we changed our point of initialization for the Anyline license in order to streamline our initialization process.
Simply put the Anyline license check once globally in your application and then initialize any of the components (ScanView, ScanPlugins, etc.) without the license key parameter.
await anylineScanView.InitAsync("path/to/config.json", "MY_LICENSE_KEY");
// just once, preferrably in the main page
AnylineSDK.Init("MY_LICENSE_KEY");
...
// will only work when the license was initialized, otherwise throws an exception
await anylineScanView.InitAsync("path/to/config.json", "MY_LICENSE_KEY");