Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hard Disk Serial Number
Message
 
To
12/07/2009 16:11:36
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01411564
Message ID:
01411811
Views:
59
>>>Keep in mind that users can configure the CPU to not return the serial number. This was added by Intel when users complained about privacy concerns...
>>
>>Yeah, but not in my environment. No cpu serial, no software, plus I am a domain God.
>
>************************
>Sorry to be so dense, but I'm not sure that I'm looking at the right prop.
>
>John, your code pulls from Win32_OperatingSystem, and the code reference
>Tracy posted pulls from WIn32_Processor.
>
>Checking the props for each class on my machine,
>Win32_OperatingSystem.SerialNumber says one thing
>Win32_Processor.ProcessorID says another, and
>Win32_Processor.UniqueID is .NULL.
>
>What should I be using?
>
>-mark


My bad - my code returns the OS serial number. Use her example for the cpu serial. You can also get the mac address using wmi. Do a google search on Stuart Dunkeld and wmi, and also Craig Boyd. They have put some very helpful stuff together and share it freely.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform