Esri.ArcGISRuntimeEnvironment.ClientId Attribute?

786
1
12-01-2016 01:00 PM
SchuylerDuarte
New Contributor II

Hi,

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 {

   Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize();

} 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.

Thanks,

Schuyler

0 Kudos
1 Reply
dotMorten_esri
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