vuDiskSerialNo()
vuDiskSerialNo(), Long
Description
Returns the volume serial number of the root directory on the C: drive. While commonly used for software licensing, note that serial numbers are not guaranteed to be unique.
Parameters
| Parameter |
Data Type |
Description |
| None |
|
This function takes no parameters |
Returns
LONG containing the serial number of the C: drive volume.
Example
MESSAGE('The serial number of the hard drive is ' & vuDiskSerialNo())
Notes
- Serial numbers are not guaranteed to be unique.
- For example, mirrored drives will share the same serial number.