// Initialize the ArcGIS Runtime before any components are created. try { ArcGISRuntime.SetLicense("runtimebasic,101,abc123456789,FGHGJFKDJGGHDJDKSJ"); ArcGISRuntime.Initialize(); } catch (Exception ex) { // Alert the user (you may not want to display the actual error message to the user) MessageBox.Show(ex.ToString()); // Exit application this.Shutdown(); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.