DriveIndex Property
Selects a drive.
Syntax
[VB.NET] Public Property DriveIndex As Integer
[C#] public int DriveIndex {get; set;}
Remarks
This property specifies the drive after calling ListDrives. Valid values are from 0 to DriveCount -1. After setting this property the following properties are populated:
- DriveId
- DriveType
- DriveOwnerId
- DriveOwnerName
- DriveDeletedSpace
- DriveRemainingSpace
- DriveState
- DriveTotalSpace
- DriveUsedSpace
This property is not available at design time.
Default Value
0