Subject |
Accessing Computer Serial Number |
From |
Matt Milner <Matt.Milner@cox.net> |
Date |
Fri, 15 Feb 2019 08:15:17 -0500 |
Newsgroups |
dbase.getting-started |
I am writing a security interface to my software. As part of this process, I lock to the computer's serial number. To get the serial number, I type this: Run( "WMIC BIOS get serialnumber > serialnumber.txt"). This creates a text file containing the serial number. I then open a database and type this: append from serialnumber.txt sdf
When I do this I get this error: Database Engine Error: Corrupt file - other than header. Is there another way to get the serial number? To contrast, when I get the hostname by typing Run("hostname > hostname.txt") the data appends just fine.
|
|