EmbeddedAdminApi Constructor

Namespace: Aladdin.Hasp

Description

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

Parameters

vendorCode

VendorCode type. This is required when establishing a context to the Integrated 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

A Vendor Code is required when establishing a context to the Integrated License Manager. This is used to talk to the Licensing C API, which also contains Admin API. Use the helper class VendorCodeType to initialize the VendorCodeType object.

NOTE   Establishing the context with the License Manager running in HTTPS mode is not supported.

Overloaded Constructors

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

EmbeddedAdminApi ( )

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

EmbeddedAdminApi ( VendorCodeType   vendorCodeType,
           string           hostname,
           ushort           port string password )
EmbeddedAdminApi ( long vendorId,
           string         hostname, )
           ushort         port,
           string         password )