prechange
This commit is contained in:
parent
7f8f8a97ba
commit
4b58d13a75
@ -34,9 +34,10 @@ int main(int argc, char** argv) {
|
|||||||
// Najde hardware serial no a vyrobce vsech komponentu
|
// Najde hardware serial no a vyrobce vsech komponentu
|
||||||
cout << "--Win32_Processor--" << endl << "ProcessorID: " << GetHWIDs("Win32_Processor", L"ProcessorID") << endl;
|
cout << "--Win32_Processor--" << endl << "ProcessorID: " << GetHWIDs("Win32_Processor", L"ProcessorID") << endl;
|
||||||
cout << "UniqueID: " << GetHWIDs("Win32_Processor", L"UniqueID") << endl;
|
cout << "UniqueID: " << GetHWIDs("Win32_Processor", L"UniqueID") << endl;
|
||||||
|
cout << "PNPDeviceID: " << GetHWIDs("Win32_Processor", L"PNPDeviceID") << endl;
|
||||||
cout << "Manufacturer: " << GetHWIDs("Win32_Processor", L"Manufacturer") << endl << endl;
|
cout << "Manufacturer: " << GetHWIDs("Win32_Processor", L"Manufacturer") << endl << endl;
|
||||||
|
|
||||||
cout << "--Win32_OnBoardDevice--" << endl << "SerialNumber: " << GetHWIDs("Win32_OnBoardDevice", L"SerialNumber") << endl;
|
cout << "--Win32_OnBoardDevice--" << endl << "SerialNumber: " << hex << GetHWIDs("Win32_OnBoardDevice", L"SerialNumber") << endl;
|
||||||
cout << "Manufacturer: " << GetHWIDs("Win32_OnBoardDevice", L"Manufacturer") << endl << endl;
|
cout << "Manufacturer: " << GetHWIDs("Win32_OnBoardDevice", L"Manufacturer") << endl << endl;
|
||||||
|
|
||||||
cout << "--Win32_BaseBoard--" << endl << "SerialNumber: " << GetHWIDs("Win32_BaseBoard", L"SerialNumber") << endl;
|
cout << "--Win32_BaseBoard--" << endl << "SerialNumber: " << GetHWIDs("Win32_BaseBoard", L"SerialNumber") << endl;
|
||||||
@ -46,14 +47,20 @@ int main(int argc, char** argv) {
|
|||||||
cout << "Manufacturer: " << GetHWIDs("Win32_BIOS", L"Manufacturer") << endl << endl;
|
cout << "Manufacturer: " << GetHWIDs("Win32_BIOS", L"Manufacturer") << endl << endl;
|
||||||
|
|
||||||
cout << "--Win32_NetworkAdapter--" << endl << "MACAddress: " << GetHWIDs("Win32_NetworkAdapter", L"MACAddress") << endl;
|
cout << "--Win32_NetworkAdapter--" << endl << "MACAddress: " << GetHWIDs("Win32_NetworkAdapter", L"MACAddress") << endl;
|
||||||
|
cout << "PNPDeviceID: " << GetHWIDs("Win32_NetworkAdapter", L"PNPDeviceID") << endl;
|
||||||
cout << "Manufacturer: " << GetHWIDs("Win32_NetworkAdapter", L"Manufacturer") << endl << endl;
|
cout << "Manufacturer: " << GetHWIDs("Win32_NetworkAdapter", L"Manufacturer") << endl << endl;
|
||||||
|
|
||||||
cout << "--Win32_DiskDrive--" << endl << "SerialNumber: " << GetHWIDs("Win32_DiskDrive", L"SerialNumber") << endl;
|
cout << "--Win32_DiskDrive--" << endl << "SerialNumber: " << GetHWIDs("Win32_DiskDrive", L"SerialNumber") << endl;
|
||||||
|
cout << "PNPDeviceID: " << GetHWIDs("Win32_DiskDrive", L"PNPDeviceID") << endl;
|
||||||
cout << "Manufacturer: " << GetHWIDs("Win32_DiskDrive", L"Manufacturer") << endl << endl;
|
cout << "Manufacturer: " << GetHWIDs("Win32_DiskDrive", L"Manufacturer") << endl << endl;
|
||||||
|
|
||||||
cout << "--Win32_VideoController--" << endl << "PNPDeviceID: " << GetHWIDs("Win32_VideoController", L"PNPDeviceID") << endl;
|
cout << "--Win32_VideoController--" << endl << "PNPDeviceID: " << GetHWIDs("Win32_VideoController", L"PNPDeviceID") << endl;
|
||||||
cout << "Manufacturer: " << GetHWIDs("Win32_VideoController", L"Manufacturer") << endl << endl;
|
cout << "Name: " << GetHWIDs("Win32_VideoController", L"Name") << endl << endl;
|
||||||
|
|
||||||
|
cout << "--Win32_ComputerSystemProduct--" << endl << "UUID: " << GetHWIDs("Win32_ComputerSystemProduct", L"UUID") << endl;
|
||||||
|
cout << "IdentifyingNumber: " << GetHWIDs("Win32_ComputerSystemProduct", L"IdentifyingNumber") << endl << endl << endl;
|
||||||
|
|
||||||
|
cout << "Press any key to close this window.." << endl;
|
||||||
cin.ignore();
|
cin.ignore();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user