How to configure ArcGIS Engine Runtime to use ArcGIS Desktop license server

In this topic

About configuring ArcGIS Engine Runtime to use ArcGIS Desktop license server

ArcGIS Engine Runtime can be configured to use an ArcGIS Desktop license that is available on your local area network (LAN). To work, the machine that has ArcGIS Engine Runtime installed needs the ARCGIS_LICENSE_FILE system level environment variable.
The value of this variable is the path to a valid ArcGIS Desktop license or the host name of the machine running the License Manager.

Setting system variables for Windows

Do the following steps to set the system environment variable for Windows:
  1. Open the Control Panel.
  2. Click System; the System Properties dialog box appears.
  3. Click the Advanced tab and click Environment Variables; the Environment Variables dialog box appears.
  4. Click New under the System variables area; the New System Variable dialog box appears.
  5. Type ARCGIS_LICENSE_FILE in the Variable name text box.
  6. Type @<hostname> in the Variable value text box for a License Manager on your LAN, for example, @server1.
  7. Click OK on the New System Variable dialog box.
  8. Click OK on the Environment Variables dialog box.
  9. Click OK on the System Properties dialog box.
After settting up the environment variable, any ArcGIS Engine application deployed to your system will have access to all licensing levels on the licensing server—ArcView, ArcEditor, and ArcInfo. The application must check out one of these three levels explicitly.
For more information regarding licensing ArcGIS Engine applications, see Application development and license initialization.
ArcGIS Engine applications on Unix cannot obtain a license from a License Manager.