From 483c73630a82fe8fbe9fe74cc8bbdd23a13d8b6b Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 15 2月 2020 23:49:50 +0800 Subject: [PATCH] pc identifiers work --- src/library/licensecc.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/library/licensecc.cpp b/src/library/licensecc.cpp index f4e6063..5378638 100644 --- a/src/library/licensecc.cpp +++ b/src/library/licensecc.cpp @@ -18,7 +18,7 @@ #include <licensecc_properties.h> #include "base/logger.h" -#include "pc_identifier/pc_identifier_facade.hpp" +#include "hw_identifier/hw_identifier_facade.hpp" #include "limits/license_verifier.hpp" #include "base/StringUtils.h" #include "LicenseReader.hpp" @@ -32,11 +32,11 @@ bool result = false; if (*bufSize > LCC_API_PC_IDENTIFIER_SIZE && chbuffer != nullptr) { try { - string pc_id = license::pc_identifier::PcIdentifierFacade::generate_user_pc_signature(pc_id_method); + string pc_id = license::hw_identifier::HwIdentifierFacade::generate_user_pc_signature(pc_id_method); strncpy(chbuffer, pc_id.c_str(), *bufSize); result = true; } catch (const std::exception& ex) { - LOG_ERROR("Error calculating pc_identifier: %s", ex.what()); + LOG_ERROR("Error calculating hw_identifier: %s", ex.what()); #ifdef _DEBUG cout << "Error occurred: " << ex.what() << std::endl; -- Gitblit v1.9.1