I'm looking for a way to find out several informations, such as hard disk serial number, motherboard serial number, ammount of ram, file system type (ntfs or fat) and cd/dvd serial number...
I'v searched along the forum but can't reach any concrete information. Could someone enlighten me?
cheers
Some of the hardware informations (but mostly software) can be retrieved with an Environ() statement. For example:
VB Code:
Debug.Print Environ("PROCESSOR_ARCHITECTURE")
'loop thorugh Environ() from Environ(1) to about 100 to get all the other data
Btw... i heard somewhere that Environ() variables/constants can be changed by the user... not sure. However, other informations can be usually retrieved with APIs. Take a look at allapi.net.
And yes, that list can easely be changed by user by using the set command in dos mode (temporarely) or non temporarely changing: "System Properties>Advanced>Environment Variables>System variables"
Each one of those can be edited or can even be deleted, on next boot, the system will be updated.
About the allapi.net, yes i checked it, although i don't know what to look for exactly, that's why i asked
And yes, that list can easely be changed by user by using the set command in dos mode (temporarely) or non temporarely changing: "System Properties>Advanced>Environment Variables>System variables" Each one of those can be edited or can even be deleted, on next boot, the system will be updated.