Subject Re: Computer serial number
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Thu, 18 Apr 2024 21:35:23 -0700
Newsgroups dbase.getting-started

On 4/18/2024 7:26 PM, Rachhpal Gill wrote:
> How I can store serial number in memory variable?
> Following command is used
>
> C:\>wmic bios get serialnumber

You can get the DRIVE serial number from code in the dUFLP, a function
in the file MiscAPI.prg, called GetSerialNumber().

There is another in MiscWSH.prg, called GetDriveSerialNumber().

Getting the serial from the bios? Well, maybe you need Akshat's
suggestion ...

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm