Detect "insert the needed storage device"

Is it possible to detect when user in PC like to read content from a mass storage device?

If I call this

ms.AttachLun(0, sd, " ", " ");

without enable the logic device I will get the respons from PC to insert the media.

If I could detect this in my netmf I could then enable the logic unit and turn off the internal access to the SD card while the PC is accessing it.

Not possible and would be very difficult to implement.

@ Honken - Could you send a serial command from the PC to turn on / off logic?