Description
JSON string is used to pass search parameters and access to the license.
All fields are optional and if not filled in, the standard "default" parameters are used.
{ // Perform feature search only inside of specified license. By default, the feature search is performed in all licenses "licenseId": 0x12345678, // Restriction for feature search area specified by GrdRemoteMode // By default the mixed mode are set "remoteMode": 3, // The mask for specifying the dongle models to which feature can be bound to (0 means all models). See GrdDongleModel enumeration // By default, the feature search is performed in all dongle models "dongleModel": 0x400, // The number of the product to which feature bound to (0 means all products). By default, the feature search is performed in all products "productNumber": 777, // Number of network resource to consume. By default, 1 "networkResourceToConsume" : 1, // Name of the user currently logged into the computer that opened the session. By default, the name of the user who logged in is used "userName" : "tester", // Configuration for Guardant Control Center "controlCenter": { // HostName or IP address of the computer on which Guardant Control Center is running "hostName": [ "192.168.77.77" ], // Broadcast search for remote licenses (enabled by default) "broadcastSearch" : true, // Sets the timeout value (in seconds) for a connection attempt before the function terminates and generates an error "connectionTimeout" : 20 } }
Fields
licenseId | Perform object search only within the specified license "By default", search is performed through the all licenses |
remoteMode | Limitation for license search area. 1 — search for keys only locally “By default” LOCAL and NETWORK licenses are searched |
dongleModel | Search for objects only within the specified dongle models (0 - all models). In case of using only software or only hardware licenses allows you to reduce the time to find the required feature. Available key models are defined in the DongleModel enumeration. |
productNumber | The product number to which the feature is linked. "By default", the search is global and is performed across all products in the license. |
networkResourceToConsume | Number of network licenses occupied per GrdFeatureLogin operation |
userName | The name of the user who opens the license session. By default, the name of the user who logged into the system is used |
hostName | The name or IP address of the computer where Guardant Control Center is running and distributing network licenses. Array addresses transfer is allowed. The order of polling servers corresponds to the order specified in the array. If the field is not specified, then a broadcast search within the local network is used if the broadcastSearch option is enabled |
broadcastSearch | Enables or disables broadcast search on the local network. |
connectionTimeout | Sets the timeout value (in seconds) on connect attempts, after which the function terminates and generates an error. |