| | |
| | | * 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 */ |