.NET support for USB devices?

  • Thread starter Thread starter Sin Jeong-hun
  • Start date Start date
S

Sin Jeong-hun

These days, many devices connect to the computer using USB interface.
For example, my MP3 player and printer is connected through USB. I
searched for 'USB' in the Object Browser but there was virtually no
result. I could find only System.IO.Port and it didn't seem to related
to USB. I want to get notifed when a USB mass storage device is
connected. Is there any .NET support for this kind of operations or
should I look for those tricky Windows APIs?
 
To be more specific, I don't need those low-level I/O operations. All I
want to do is,

1. To get notified when a USB mass storage gets connected and
disconnected.
Which works as a removable disk on Windows.

2. To detect the type of that USB mass storage.
Many different kinds of devices work as USB mass storage, such as
camaras, mp3 players. So I need to figure out whether it is a camara,
mp3 or so on.

I can copy files using normal .NET IO methods.
 
Back
Top