How to detect the USB drive
letter from c# program which is not residing in the USB?
Below line of code will get all
of the removable drives attached (including USB drives):
foreach (DriveInfo driveInfo in DriveInfo.GetDrives())
if (driveInfo.DriveType == DriveType.Removable)
// Code here
Don't want to miss updates? Please click the below button!
Copyright © 2010 - 2015 MindStick Software Pvt. Ltd. All Rights Reserved.