Skip to content

Anyline License How To

peterAnyline edited this page Nov 11, 2020 · 3 revisions

License API migration from previous Anyline versions

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.

Anyline 25 and prior

await anylineScanView.InitAsync("path/to/config.json", "MY_LICENSE_KEY");

Anyline 26+

// 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");

Plugins Specifics

  • ID
  • TBA
  • TBA
  • TBA
  • TBA
Clone this wiki locally