TdcDiskInfo component
Properties Example |
The dcDiskInfo component provides detailed information about system disks (Hard, Floppy, CD, RAM or Network drives). Returns the letters of available disks (ie: ACD), disk capacity and free space, file system information, serial number and shell icons (large and small), associated with specified disk.
|
Just specify the disk letter at the Disk property and read neccessary disk information from other properties:
|
|
AvailableDrives | shows the letters of available drives (ie. if you have floppy disk, one hard disk C: and one CD-ROM, the return value will "acd");
|
DiskSize, DiskFree | determines the amount of total and free disk space;
|
DriveType | determines the type of specified drive;
|
FileSystem | determines the type of file system of specified drive;
|
VolumeLabel | determines the disk volume label;
|
SerialNumber,
|
SerialNumberStr | determines the serial number of specified disk;
|
TotalClusters,
|
FreeFlusters,
|
SectorsPerCluster,
|
BytesPerSector | determines the low-level disk information;
|
LargeIcon, SmallIcon | returns the icon associated with specified disk.
|
dcFileInfo component
|