| | |
| | | #include "hw_identifier/hw_identifier_facade.hpp" |
| | | #include "os/execution_environment.hpp" |
| | | #include "limits/license_verifier.hpp" |
| | | #include "base/StringUtils.h" |
| | | #include "base/string_utils.h" |
| | | #include "LicenseReader.hpp" |
| | | |
| | | using namespace std; |
| | |
| | | string project; |
| | | size_t str_size; |
| | | if (callerInformation != nullptr && |
| | | (str_size = license::mstrnlen_s(callerInformation->project_name, sizeof callerInformation->project_name)) > 0) { |
| | | project = string(callerInformation->project_name, str_size); |
| | | (str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->feature_name)) > 0) { |
| | | project = string(callerInformation->feature_name, str_size); |
| | | } else { |
| | | project = string(LCC_PROJECT_NAME); |
| | | } |