Method UseLicense
UseLicense(IArcGISConfiguration, String)
Adds a license using an Esri license string.
Declaration
public static IArcGISConfiguration UseLicense(this IArcGISConfiguration configuration, string license)
Parameters
| Type | Name | Description |
|---|---|---|
| IArcGISConfiguration | configuration | ArcGIS Configuration |
| System.String | license | The Lite, Basic, Standard, or Advanced Esri license string. |
Returns
| Type | Description |
|---|---|
| IArcGISConfiguration | A reference to this instance after the operation has completed. |
Remarks
A license key can also be obtained from an authenticated ArcGIS Portal instance using GetLicenseInfoAsync(), and then set using SetLicense(LicenseInfo).
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.0 - 200.8 |
| .NET | 200.0 - 200.8 |
| .NET Windows | 200.0 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 200.0 - 200.8 |
| UWP | 200.0 - 200.8 |
UseLicense(IArcGISConfiguration, String, String[])
Adds a license using an Esri license string.
Declaration
public static IArcGISConfiguration UseLicense(this IArcGISConfiguration configuration, string license, params string[] extensions)
Parameters
| Type | Name | Description |
|---|---|---|
| IArcGISConfiguration | configuration | ArcGIS Configuration |
| System.String | license | The Lite, Basic, Standard, or Advanced Esri license string. |
| System.String[] | extensions | A collection of license string extensions. |
Returns
| Type | Description |
|---|---|
| IArcGISConfiguration | A reference to this instance after the operation has completed. |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.0 - 200.8 |
| .NET | 200.0 - 200.8 |
| .NET Windows | 200.0 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 200.0 - 200.8 |
| UWP | 200.0 - 200.8 |