DriveList Event
Fired for each drive when ListDrives is called.
Syntax
[VB.NET] Public Event OnDriveList As OnDriveListHandler
[C#] public event OnDriveListHandler OnDriveList; public delegate void OnDriveListHandler(object sender, OnedriveDriveListEventArgs e); class OnedriveDriveListEventArgs : EventArgs { string Id {get;} int DriveType {get;} string OwnerId {get;} string OwnerName {get;} }
Remarks
This event fires for each drive returned when ListDrives is called.
Id is the unique identifier of the drive.
DriveType indicates whether the drive is personal or business. Possible values are:
- 0 (personal)
- 1 (business)
OwnerId: is the Id of the drive owner.
OwnerName: is the name of the drive owner.