EmbeddedAdminApi.connect Method

Namespace: Aladdin.Hasp

Description

Establishes a session context for subsequent administration requests. See EmbeddedAdminApi Constructor.

Parameters

vendorCode

VendorCode type. This is required when establishing a context to the Integrated or External License Manager. This is used to talk to the Licensing C API, which also contains Admin API.

hostname (For License Manager service) Host name or IP address of the targeted License Manager.
port (For License Manager service) Port number of the targeted License Manager (or specify 0 to use the default port 1947)
password (For License Manager service) Password string (or null)

Usage Notes

This method establishes a context to the (standalone) Sentinel License Manager service or to the Integrated or External License Manager.

Overloaded Methods

>Establishes the context using Vendor Code, hostname, port and password in the EmbedddAdminApi object.

EmbeddedAdminStatus connect ( )

>Updates the EmbeddedAdminApi object and establishes the context with the License Manager running on the specified host on the specified port with the specified password.

EmbeddedAdminStatus connect ( VendorCodeType vendorCode,
                      String         hostname,
                      ushort         port,
                      String         password )

EmbeddedAdminStatus connect ( long vendorId,
                      String         hostname,
                      ushort         port,
                      string         password )

Return Values

An EmbeddedAdminStatus status code.

Related Topics

Sentinel License Managers - Overview