Class ArcGISRuntimeEnvironment
Provides information about, and means to manipulate, process-wide ArcGIS Runtime settings.
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public static class ArcGISRuntimeEnvironment
Properties
| Name | Description |
|---|---|
| ApiKey | Gets or sets the default API key to access API key enabled services and resources in ArcGIS Online. |
| IsInitialized | Gets a value indicating whether the ArcGIS Runtime environment is initialized. |
| ServiceCurveGeometryMode | Gets or sets a value indicating whether curve geometries are fetched from and sent to services that support them. |
| TempPath | Gets or sets the temporary data path for the runtime deployment used by this application. |
Methods
| Name | Description |
|---|---|
| GetLicense() | Retrieves the license details about the ArcGIS Runtime. |
| Initialize() | Initializes the ArcGIS Runtime environment. |
| SetLicense(LicenseInfo) | Sets the license of an ArcGIS Runtime deployment using LicenseInfo. |
| SetLicense(String) | Sets the license of an ArcGIS Runtime deployment using an Esri license string. |
| SetLicense(String, IEnumerable<String>) | Sets the license of an ArcGIS Runtime deployment using an Esri license string and extension license strings. |
Events
| Name | Description |
|---|---|
| ArcadeConsoleMessage | Occurs when a new Arcade console function message is sent. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |