AdminApi Constructor
Namespace: SafeNet.Sentinel
Description
Initializes a new instance of an AdminApi object that can be used to connect to the License Manager service
If the Vendor Code is not null, Sentinel Licensing API (hasp_windows_<vid>.dll) is used.
If the Vendor Code is null, Sentinel Admin API (sntl_admin_windows.dll) is used.
When connecting to Integrated License Manager, do not specify a port and password.
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
|
|
port
|
|
password
|
|
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.
Overloaded Constructors
>Initializes a new AdminApi object that can be used to connect to the License Manager running on localhost on the default port with the default password.
AdminApi ( )
>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, ushort 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, ushort port, String password )
>Initializes a new AdminApi object that can be used in HTTPS mode to connect to the License Manager running on a specified host on a specified port with a specified password.
AdminApi ( String hostname,
ushort port,
String password,
String cert )
>Initializes a new AdminApi object that can be used to connect to the License Manager running on a specified host on the default port with the default password.
AdminApi ( VendorCodeType vendorCodeType,
String hostname )
>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 the default password.
AdminApi ( VendorCodeType vendorCodeType,
String hostname,
ushort 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 ( VendorCodeType vendorCodeType,
String hostname, )
ushort port,
String password )
>Initializes a new AdminApi object that can be used in HTTPS mode to connect to the License Manager running on a specified host on a specified port with a specified password.
AdminApi ( VendorCodeType vendorCodeType,
String hostname, )
ushort port,
String password, String cert )
