ZForge.Win32.RemovableDriveDetector.RemovableDriveDetector C# (CSharp) Method

RemovableDriveDetector() public method

The easiest way to use DriveDetector. It will create hidden form for processing Windows messages about USB drives You do not need to override WndProc in your form.
public RemovableDriveDetector ( ) : System
return System
        public RemovableDriveDetector()
        {
            RemovableDetectorForm frm = new RemovableDetectorForm(this);
            frm.Show(); // will be hidden immediatelly
            Init(frm, null);
        }

Same methods

RemovableDriveDetector::RemovableDriveDetector ( Control control ) : System
RemovableDriveDetector::RemovableDriveDetector ( Control control, string FileToOpen ) : System