when the user insert the pendrive and collect data from that pc.
from inserting the pendrive to collection of the data what is the
internal process of pendrive.
It pretends to be a USB attached disk drive. What more do you need? Because there is nothing that you can do to change this. You can change the reaction of the PC wjhen a drive is inserted by fiddly the registry. (Assuming Windows OS.)