From 4508c70ba686df65b79174dbfea3840f998c05d1 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 26 4月 2020 19:22:44 +0800 Subject: [PATCH] better vm detection --- src/library/hw_identifier/hw_identifier_facade.hpp | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/library/hw_identifier/hw_identifier_facade.hpp b/src/library/hw_identifier/hw_identifier_facade.hpp index bd198b3..aced4a2 100644 --- a/src/library/hw_identifier/hw_identifier_facade.hpp +++ b/src/library/hw_identifier/hw_identifier_facade.hpp @@ -23,7 +23,13 @@ virtual ~HwIdentifierFacade(){}; public: static LCC_EVENT_TYPE validate_pc_signature(const std::string& str_code); - static std::string generate_user_pc_signature(LCC_API_IDENTIFICATION_STRATEGY strategy); + /** + * + * @throws logic_error if pc_identifier can't be generated. + * @param strategy + * @return + */ + static std::string generate_user_pc_signature(LCC_API_HW_IDENTIFICATION_STRATEGY strategy); }; } // namespace hw_identifier -- Gitblit v1.9.1