You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Описание

Хранит параметры доступа к лицензии.

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;
    /// @brief [optional] Restriction for feature search area specified by GrdRemoteMode
    /// By default GRD_LOCAL_MODE_ON and GRD_REMOTE_MODE_ON are set
    grd_uint32 remoteMode;
    /// @brief [optional] 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
    grd_uint32 dongleModel;
    /// @brief [optional] Additional feature flags
    /// By default, no additional feature flags are used
    grd_uint32 flags;
    /// @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;
    /// @brief Lookup options for the computer on which Guardant Net Server is running
    /// @details By default (if the structure is filled with zero values), uses a broadcast search
    /// for the Guardant Net Server. For a broadcast search, a custom address can be set.
    /// To disable broadcast search, set the address of the computer on which Guardant Net Server is running
    GrdNetServer netServer;
    /// @brief Reserved
    grd_uint8 reserved[0x400];
} GrdVisibility;

Поля

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

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

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

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

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

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

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

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

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

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

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

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

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

productNumber

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

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

netServer

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

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

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

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