Hi there !

I need to detect when an usb key is plugged and I also need to access (read/write) data stored onto that key.

In my opinion the main problem is to auto detect the usb device ... then I imagine it is easy to read/write data (as it is on a hard drive).

Could someone tell me how to detect the usb key ?

Thanks in advance.