AdminApi.connect Method

Namespace: SafeNet.Sentinel

Description

Establishes a session context for subsequent administration requests. See AdminApi 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 AdminApi object.

AdminStatus connect ( )

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

AdminStatus connect ( String hostname,
                      ushort port,
                      String password )                                 

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

>Updates the AdminApi object and establishes the context with the License Manager running in HTTPS mode on the specified host on the specified port with the specified password.

AdminStatus connect ( String hostname,
                      ushort port,
                      String password, String cert )                                 

Return Values

An AdminStatus status code.

Related Topics

Sentinel License Managers - Overview