Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Описание

Хранит параметры JSON-строка для передачи параметров поиска и доступа к лицензии.

Все поля опциональные и если не заполняются, то используются стандартные параметры «по умолчанию».

Code Block
languagecppxml
linenumberstrue
typedef   struct
{
    /// @brief [optional] Perform feature search only inside of specified license
    ///. By default, the feature search is performed in all licenses
    grd_uint32 licenseId;"licenseId": 0x12345678,
    /// @brief [optional] Restriction for feature search area specified by GrdRemoteMode The mask for specifying the dongle models to which feature can be bound to (0 means all models). See GrdDongleModel enumeration
    /// By default GRD_LOCAL_MODE_ON and GRD_REMOTE_MODE_ON are set, the feature search is performed in all dongle models
    grd_uint32 remoteMode;"remoteMode": 3,
    /// @brief [optional] The mask for specifying the dongle models to which feature can be bound to (0 means all models). See GrdDongleModel enumeration
    /// See GrdDongleModel enumeration. By default, the feature search is performed in all dongle models
    grd_uint32 dongleModel;
    /// @brief [optional] Additional feature flags
    /// By default, no additional feature flags are used
    grd_uint32 flags;"dongleModel": 0x400,
    /// @brief The number of the product to which feature bound to (0 means all products)
    ///. By default, the feature search is performed in all products
    grd_uint32 productNumber;"productNumber": 777,
    /// @brief Lookup options for the computer on which Guardant Net Server is running Number of network resource to consume. By default, 1
    "networkResourceToConsume" : 1,
    /// @details By default (if the structure is filled with zero values), uses a broadcast search
 Configuration for Guardant Control Center
    "controlCenter":
    {
        /// HostName foror theIP Guardantaddress Netof Server.the Forcomputer aon broadcastwhich search,Guardant aControl customCenter addressis canrunning
 be set.
    /// To disable broadcast search, set the address of the computer on which Guardant Net Server is running "hostName": [ "192.168.77.77" ],
       // Broadcast search for remote licenses (enabled by default)
    GrdNetServer netServer;
  "broadcastSearch"  /// @brief Reserved
    grd_uint8 reserved[0x400];
} GrdVisibility;: true,
    }
   }

Поля

licenseId [опционально]

Выполнять поиск объектов только внутри указанной лицензии

«По умолчанию» поиск производится во всех лицензиях

remoteMode [опционально]

Ограничение для области поиска лицензии. Задается режимом RemoteMode

«По умолчанию» ищутся ЛОКАЛЬНЫЕ и СЕТЕВЫЕ лицензии

dongleModel [опционально]

Позволяет однозначно указать модели ключей, к которым будет привязан лицензируемый копонент (0 — все модели)

Доступные модели ключей определены в DongleModel enumeration.

«По умолчанию» учитываются все возможные модели

flags [опционально]

Дополнительные флаги

«По умолчанию» дополнительные флаги не используются

productNumber

Номер продукта, к которому привязан компонент

«По умолчанию» поиск глобальный и производится по всем продуктам разработчика

netServer

Параметры поиска компьютера, на котором запущен сервер Guardant Net

«По умолчанию» используется широковещательная поиск сервера Guardant Net. Стандарный адрес широковещательной рассылки можно изменить

Чтобы отключить широковещательный поиск, задайте адрес компьютера, на котором запущен сервер Guardant Net

reserved[0x400]Зарезервировано