Skip to content

Anyline License How To

peterAnyline edited this page Nov 11, 2020 · 3 revisions

Getting a License Key

Before you get started with your Anyline integration, you need a license key. You can register an account and request a test license here or write a mail to [email protected].

Identifying the app identifier for your license key

The license key is bound to your application identifier, which in case of Windows UWP, is the Package Name of your app.

Package Name

⚠️ Windows App Store may change the Package Name

⚠️ If you plan on associating your App with the Windows Store, you have to reserve an App name, which will update your final Package Name. For an appropriate license key, you should already have registered your desired app name at the Windows Store. Otherwise, you may have to generate another Anyline License Key later.

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