UWP ESRI Runtime - Licensing

225
1
08-28-2019 10:45 AM
RAVISOLANKI
New Contributor

Hello,

I am trying to add licence information to my UWP ESRI Runtime(100.5) app.

Below is my code of App.xaml.cs Initialize to configure it:

string clientId = "xxx";
string clientSecret = "yyy";
string licenseKey = "runtimelite,1000," + clientId + ",none," + clientSecret;

ArcGISRuntimeEnvironment.SetLicense(licenseKey);

ArcGISRuntimeEnvironment.Initialize();

Could someone please help me how to set it?

Many Thanks!

0 Kudos
1 Reply
Nicholas-Furness
Esri Regular Contributor

The license key is not constructed from clientId or secret.

Instead, for the Lite key, you can find it in your dashboard: https://developers.arcgis.com/dashboard 

If you need to embed other levels of key (Basic, Standard or Advanced), you should buy a license pack.

Hope this helps!

Nick.

0 Kudos