ContextNew Function
Description
Establishes a License Manager context for subsequent administration requests.
Usage Notes
This function establishes a context to a Sentinel License Manager.
Deprecated. This function is replaced by the ContextNewScope function.
Syntax
sntl_admin_status_t SNTL_ADMIN_CALLCONV sntl_admin_context_new(
sntl_admin_context_t ** admin_context,
const char * host,
sntl_admin_u16_t port,
const char * password
)
Parameters
|
Pointer to the License Manager context created for this session |
host
|
Host name or IP address of the targeted License Manager |
|
Port number of the targeted License Manager (0 is default port 1947) |
|
Pointer to a password string (or NULL) |
NOTE To create a context for the local License Manager, call the function with host=NULL, port=0, password=NULL