Class License
Represents an ArcGIS Maps SDK for .NET license.
Inheritance
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class License
Remarks
Until an app is licensed, it runs at the Developer license level. All functionality is available, but the map display is watermarked and a message is logged stating that the app is in developer mode.
A deployed app needs to be run at minimum with the Lite license level to disable the map watermark. The
Lite, Basic, Standard, or Advanced license level is set by calling Set
To get Lite, Basic, Standard, or Advanced license level functionality, a user app is licensed in one of two ways:
- With license information retrieved after logging in to a portal (Lite and Basic levels).
- With a license string acquired from the ArcGIS for Developers website or Esri Customer Service.
To license with a license string, call Set
To validate with information from a portal, you need a License
Both of these methods return a License
Properties
Name | Description |
---|---|
Expiry | Gets the license expiry date and time in UTC. |
Extensions | Gets the collection of extension licenses for the app. |
Is |
Gets a value indicating whether the license is perpetual. |
License |
Gets the current license level set in the app.
See License |
License |
Gets the current license status of the provided license. |
License |
Gets the license type of the current license. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |