gcontini
2020-10-31 c8f8e0c1f0a3687539a92169735845814e18c187
src/library/os/windows/dmi_info.cpp
@@ -5,22 +5,19 @@
 *      Author: devel
 */
#include <windows.h>
#include "isvm/BIOSReader.h"
#include "isvm/Native.h"
#include "../../base/string_utils.h"
#include "../dmi_info.hpp"
namespace license {
namespace os {
DmiInfo::DmiInfo() {
   if (InitEntryPoints()) {
      BIOSReader reader;
      SystemInformation info = reader.readSystemInfo();
      m_sys_vendor = toupper_copy(info.Manufacturer);
      m_bios_vendor = toupper_copy(info.ProductName);
      m_bios_description = toupper_copy(info.SysVersion) + toupper_copy(info.family);
   }
}
}
} /* namespace license */