C# (CSharp) Dolinay Namespace

Classes

Name Description
DetectorForm Hidden Form which we use to receive Windows messages about flash drives
DriveDetector Detects insertion or removal of removable drives. Use it in 1 or 2 steps: 1) Create instance of this class in your project and add handlers for the DeviceArrived, DeviceRemoved and QueryRemove events. AND (if you do not want drive detector to creaate a hidden form)) 2) Override WndProc in your form and call DriveDetector's WndProc from there. If you do not want to do step 2, just use the DriveDetector constructor without arguments and it will create its own invisible form to receive messages from Windows.
DriveDetector.DEV_BROADCAST_HANDLE
DriveDetector.DEV_BROADCAST_VOLUME
DriveDetector.Native WinAPI functions
DriveDetectorEventArgs Our class for passing in custom arguments to our event handlers