How does one go about this task in VB.NET? I am working on two projects at this point and need to figure out what devices of a set type are installed in the system in each program. One needs to discover all modems and network cards, and the other needs to find all CD/DVD drives and get their mounted letter, such as
. How would I do this? I know there are methods to do so in C++, but these two applications are Win32/Win64 only, so I am using VB.NET fopr fast development.