Select to view content in your preferred language

Esri.ArcGISRuntimeEnvironment.ClientId Attribute?

12-01-2016 01:00 PM
New Contributor II


In an earlier version of the .NET SDK we were able to remove the "for development use only" watermark with the following:

Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.ClientId = "mYcLieNTid";

try {


} catch (Exception ex) { Console.WriteLine("Unable to initialize the ArcGIS Runtime with the client ID provided: " + ex.Message); }

With version 100.0.0 of the SDK it seems that the ClientId attribute is no longer a member of the ArcGISRuntimeEnvironment class.  Has it moved?  Is there a different way to add the client ID?  Looking through the documentation I only see a way to initialize with a license or a named user.



0 Kudos
1 Reply
Esri Notable Contributor

This isn't needed any longer. Just set the license-key and you're good to go. See the licensing doc here:

License your app—ArcGIS Runtime SDK for .NET | ArcGIS for Developers