AdminApi Constructor

Package: SafeNet

Description

Initializes a new instance of an AdminApi object that can be used to connect to the License Manager service.

The constructor cannot configure the AdminApi object to talk to the Integrated License Manager.

The Sentinel Admin API functionality for the Integrated License Manager is included in the Sentinel Licensing API. To connect to the Integrated License Manager, use the Licensing API library in the protected application. Do not use sntl_adminapi_windows.lib. This is a standalone library that does not support the Integrated License Manager.

Parameters

hostname Host name or IP address of the targeted License Manager. Use sntl_integrated_lm when connecting to integrated License Manager.
port Port number of the targeted License Manager (or specify 0 to use the default port 1947)
password Password string

Overloaded Constructors

>Initializes a new AdminApi object that can be used to connect to the License Manager running on the specified host on the default port with the default password.

AdminApi ( String hostname )

>Initializes a new AdminApi object that can be used to connect to the License Manager running on the specified host on the specified port with the default password.

AdminApi ( String hostname, int port )

>Initializes a new AdminApi object that can be used to connect to the License Manager running on a specified host on a specified port with a specified password.

AdminApi ( String hostname, int port, String password )