Drac alb wrote:
>> Trimis: Friday, March 28, 2008 2:28 AM
>> The only thing that's NOT virtualized is the CPU. But AFAIK there's
no
>> way to get any uniquely identifiable code from the CPU (there used to
>> be
>> a way to get an serial number out of an Intel Pentium but that has
been
>> removed for privacy raisons).
>
>   Actually it is possible. There is a unique number in each modern CPU
> (one per code). You may want to see this library:
> 
> Quote:
> Hardware ID Detector - This program shows data about your computer's
> hardware:
> Hard disk:
>            Hard drive ID (unique hardware ID written in IDE
> electronic/drive's chip)
>  Partition ID
>           CPU:
>        CPU ID (unique hardware ID)
>        CPU vendor
>        CPU running speed
>        CPU theoretic speed
>  http://soft.tahionic.com/download-hdd_id/index.html
> --------------------------------------------
> The hard disk ID may not work on a virtual machine, but the CPU ID
will
> surely work!
> 

Yes, but the CPU ID you see there is the one returned by the CPUID
instruction and is not a serial number. It's a way for the processor to
report who it's maker is, what instructions it supports etc. In short -
you get the CPU model. As I already said, this is an issue only if the
potentially cheating client is using the same model CPUs. But then again
if the client is a business there's a very high probability they have
multiple computers based on the same model CPU (simply because they
probably bought multiple computers at the same time from the same
vendor). Some CPUs might include a serial number but AFAIK only some
Pentium III CPU's made that serial number available to the programmer
and I don't think anyone's using that CPU for virtualization today! 

Look here for more information CPUID:
http://www.sandpile.org/ia32/cpuid.htm

And if you want that CPUID string decoded pay a visit to
http://www.cpuid.com and download CPU-Z - it provides all available
information about the CPU (+MOBO and RAM as an extra) and you can also
buy an API from them that does the same as the freeware CPU-Z: No CPU
serial number there!

--
Cosmin Prund 
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to