From: Joshua Ellul on
Hi There,

I need to enumerate all devices connected on the system (similiar to that in
the device manager). Could someone point me to the right API or other
source that would allow me to do so?

Regards,

Joshua


From: Vinay Agarwal on
I just found this article which might be helpful. I myself have been
investigating accessing device events through .net framework--it is still
work in progress.

http://www.codeproject.com/csharp/DivingSysProg3.asp

Regards,
Vinay Agarwal
From: Mike D Sutton on
> I need to enumerate all devices connected on the system (similiar to that
> in the device manager). Could someone point me to the right API or other
> source that would allow me to do so?

Whilst you can probably get access to various devices through a myriad of
API calls, the easiest method if it's available to you would be to look into
WMI - You'll find plenty of examples online of this kind of thing.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais(a)mvps.org
WWW: Http://EDais.mvps.org/