|
DriveSerial | ||
Serial = DriveSerial() | ||
Parameters: NONE | ||
Returns: Serial = The volume serial of the queried drive |
||
The DriveSerial function the volume serial number of selected drive letter. FACTS: * Always check to see if a drive is ready before attempting to query information about it, such as it's volume name, serial, and even when dealing files or folders. The reason for this is user may be running this program or directing your program to read/write information to a drive that has no media stored within it. Like floppy, CD, or DVD drives Mini Tutorial: This example reads the current drive list than displays the volume name, serial and ready status of each one.
This example will return something like the following. It's output will differ on each computer, as each computer have a different collection of drives installed in it.
|
Related Info: | DriveExist | DriveList$ | DriveName$ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |