From 55a8483884c70b03c86a6508469f708e48211638 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 28 11月 2020 09:38:30 +0800 Subject: [PATCH] improve documentation add project/feature documentation --- src/templates/licensecc_properties.h.in | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/templates/licensecc_properties.h.in b/src/templates/licensecc_properties.h.in index 1dd89e8..3bce633 100644 --- a/src/templates/licensecc_properties.h.in +++ b/src/templates/licensecc_properties.h.in @@ -88,6 +88,14 @@ * - If it detects the software is running in a virtual machine in the cloud it will use ::LCC_CLOUD_STRATEGIES */ STRATEGY_DEFAULT = -1, + /** + * \brief Uses mac address to generate hardware id. + * + * This strategy use the mac address of one of the network adapters to generate the hardware identifier. + * Network adapters are scored using their names, trying to avoid vpn adapters and virtual devices. + * Mac address should be unique in the subnetwork, so this strategy poses some limitation on the number of licenses + * that can be in use in the same subnet. + */ STRATEGY_ETHERNET = 0, STRATEGY_IP_ADDRESS = 1, STRATEGY_DISK = 2, -- Gitblit v1.9.1