Property ApiKey
ApiKey
Gets or sets the default API key to access API key enabled services and resources in ArcGIS Online.
Declaration
public static string ApiKey { get; set; }
Property Value
Type | Description |
---|---|
System. |
The default API key to access API key enabled services and resources in ArcGIS Online. |
Remarks
An API key is a unique key used to authorize access to specific services and resources in ArcGIS Online. It is also used to monitor access to those services. API keys are created and managed in the ArcGIS developer dashboard and are tied to a specific ArcGIS account.
In addition to setting an API key at a global level for your application using this property,
you can set an Api
Classes that expose an API key property by implementing IApi
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 100.15 |