Sets the runtime license. The license must be set before the call to ArcGISRuntime Initialize is made.
Syntax
Remarks
Parameters
- license
- The string containing the main runtime deployment license.
- extensions
- Optional extension license strings for the runtime.
Example
SetLicense example
C# | Copy Code |
---|
// Set the ArcGIS Runtime license by providing the license string.
ArcGISRuntime.SetLicense("Place the License String in here");
// Initialize the ArcGIS Runtime after the license has been set.
ArcGISRuntime.Initialize(); |
SetLicense example
VB.NET | Copy Code |
---|
'Set the ArcGIS Runtime license by providing the license string.
ArcGISRuntime.SetLicense("Place the License String in here")
'Initialize the ArcGIS Runtime after the license has been set.
ArcGISRuntime.Initialize() |
Requirements
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8
See Also