Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Detect USB storage drive

$
0
0
Hi,

I'm working on a C# windows service that should detect when a USB drive is plugged in. After drive letter has been assigned, start using that drive. On the other side, when user clicks on the eject button, stop using the drive so that windows can safely remove the hardware.

Could someone let me know where to start? what libraries/namespaces can be used?

thanks,
dapi

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>