how to know by coding between two computer ?
-
i have two computers,the same brand IBM, same capacity, same speed. and i want to know what is different between it both? is it by check its CPU id or what ? please give me some guid line .....
Some parts carry unique ID numbers that may be available through some function. None of them is perfect though. Examples: - hard disks contain a physical ID, however under Vista you need admin rights to read it. - Ethernet network cards have a MAC ID, it can be temporarily modified by software. - the baseboard often has a serial number, it gets stored in the BIOS EEPROM, and can be wiped out by a BIOS upgrade. etc. In a secure environment, and when available, I would go for the baseboard number. You would need WMI (Win32_BaseBoard) to get at it. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Some parts carry unique ID numbers that may be available through some function. None of them is perfect though. Examples: - hard disks contain a physical ID, however under Vista you need admin rights to read it. - Ethernet network cards have a MAC ID, it can be temporarily modified by software. - the baseboard often has a serial number, it gets stored in the BIOS EEPROM, and can be wiped out by a BIOS upgrade. etc. In a secure environment, and when available, I would go for the baseboard number. You would need WMI (Win32_BaseBoard) to get at it. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
is the same brand of harddisk has the same of physical ID ? how about the same brand of CPU ?
AFAIK harddisk manufacturers don't have to provide an ID, and when they do it does not have to be unique (althouth it does not make much sense to have duplicates within one brand); I know of no standard way to ensure available IDs are unique across manufacturers. Some CPUs include a unique ID register, however when present, the feature is turned off by default, and turning it on requires a BIOS access and probably a reboot as well. As I said earlier none of the IDs is perfect, however depending on your goals, one may be much better than another. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
AFAIK harddisk manufacturers don't have to provide an ID, and when they do it does not have to be unique (althouth it does not make much sense to have duplicates within one brand); I know of no standard way to ensure available IDs are unique across manufacturers. Some CPUs include a unique ID register, however when present, the feature is turned off by default, and turning it on requires a BIOS access and probably a reboot as well. As I said earlier none of the IDs is perfect, however depending on your goals, one may be much better than another. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
i have two computers,the same brand IBM, same capacity, same speed. and i want to know what is different between it both? is it by check its CPU id or what ? please give me some guid line .....
You can download hardware analysis tool. If you looking to check CPU u can try cpuid.
-
i have two computers,the same brand IBM, same capacity, same speed. and i want to know what is different between it both? is it by check its CPU id or what ? please give me some guid line .....
If they have "Network interface cards" then you can check their MAC addresses, because MAC address is unique.