Page 1 of 1

Re: usb detection

Posted: Fri Jan 26, 2018 5:38 am
by bsvalastoga
Hi.
Here is how I do it:

bool UsbPresent = Directory.Exists("\\Hard Disk");
if( !UsbPresent)
{
MessageBox.Show("USB not inserted");
}

Re: usb detection

Posted: Tue Feb 13, 2018 3:47 pm
by Chris T.
Very nice script! Simple and effective.