| | |
| | | << static_cast<unsigned int>(osAdapter.ipv4_address[1]) << "-" |
| | | << static_cast<unsigned int>(osAdapter.ipv4_address[0]) << "]" << endl; |
| | | cout << " mac address [" << std::hex; |
| | | for (int i = 0; i < 8; i++) { |
| | | for (int i = 0; i < sizeof(osAdapter.mac_address); i++) { |
| | | if (i != 0) { |
| | | cout << ":"; |
| | | } |
| | |
| | | license::os::DmiInfo dmi_info; |
| | | cout << "Bios vendor :" << dmi_info.bios_vendor() << endl; |
| | | cout << "Bios description :" << dmi_info.bios_description() << endl; |
| | | cout << "System vendor :" << dmi_info.sys_vendor() << endl << endl; |
| | | cout << "System vendor :" << dmi_info.sys_vendor() << endl; |
| | | cout << "Cpu Vendor (dmi) :" << dmi_info.cpu_manufacturer() << endl; |
| | | cout << "Cpu Cores (dmi) :" << dmi_info.cpu_cores() << endl; |
| | | cout << "==================" << endl; |
| | | if (argc == 2) { |
| | | const string fname(argv[1]); |