hello, im trying to make a program that can detect usb flash drives or even memory cards when you plug it in into your computer. After detecting a form will appear and requires you to enter password on it. when the password is correct it will allow you to open the flash drives but when your password is incorrect it will automatically safely removed from your computer. Now my question is how can i detect flash drives and how to safely removed it using vs2008.


thanks in advance.