hello sir, i m doing project in java in which i want pendrive to be automatically Safely Removed if it is not scan 4 virus...So how can i Automatically safely remove pendrive through mine java or C program??? and also how to detect whether the device connected to the USB port in mass storage device ...