Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get system information into FoxPro

Status
Not open for further replies.

theprophet

Programmer
Nov 2, 2000
16
US
Is there a way to get the cpu serial number from BIOS in Visual FoxPro??

Any help or direction would be appreciated.
 
This function would have a rather limited usefulness, as only some PIII's actually had this available, and the user can choose to prevent it from being queried. I doubt if there is even a Windows API call to get this, but you may want to check the Intel site to see what they've provided.

Rick

P.S. It wouldn't be in the BIOS, it's in the CPU itself.
 
on a Win95 or Win98 Computer
declare integer WinExec in kernel32 string lpCmdLine, integer uCmdShow
= WinExec("C:\program files\common files\microsoft shared\msinfo\msinfo32.exe" , 1)

on WinNT or Win2K someone else will have to help you

David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
I totally agree with Rick's comments. Although this feature does appear to show promise for machine-level security, implementing this into application-level security is definitely not feasible.

First of all, serial number readibility is disabled by default.

Secondly, if you do query/store this from within an application, what happens when the user upgrades his/her cpu???

I would highly recommend reading the following article by Douglas Boling from the March 1999 issue of Microsoft Internet Developer.


PS. Pay close attention to the last few paragraphs. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top