Hello.
My question is:
with the WMI i get the serial number of cpu or hard disk.
But i see in the registry and serialnumbers is stored in the registry.
When i get a method from WMI: where the class read the value ???
From the registry or from hardware all times ???
Thank in advance.
Karl E. Peterson - 27 Aug 2007 19:43 GMT
> My question is:
> with the WMI i get the serial number of cpu or hard disk.
> But i see in the registry and serialnumbers is stored in the registry.
> When i get a method from WMI: where the class read the value ???
> From the registry or from hardware all times ???
The most definitive answer could only be attained using this:
RegMon for Windows v7.04
http://www.microsoft.com/technet/sysinternals/utilities/regmon.mspx
And even at that, all you can do is rule out the registry method.

Signature
.NET: It's About Trust!
http://vfred.mvps.org
Michael C - 28 Aug 2007 01:43 GMT
> Hello.
> My question is:
> with the WMI i get the serial number of cpu or hard disk.
> But i see in the registry and serialnumbers is stored in the registry.
> When i get a method from WMI: where the class read the value ???
> From the registry or from hardware all times ???
Use some basic problem solving techniques: change the value in the registry
to something odd and see what you get.
Michael