Listing attatched devices
-
Hi Guys, I'm trying to write a util that can list all the devices attatched to a given machine.... WMI would be good so that a remote machine can also be queried.... On this I've already had some luck.... The real problems I'm having are: 1. Showing an autochanger (invisable)....? 2. Extracting the serial number for a given device. 3. Extracting the SCSI path to a device I know is SCSI attatched(all I can get is the win ID). 4. Doing it in a managed framework. Does anyone have any ideas??? Thanks Rob :confused:
-
Hi Guys, I'm trying to write a util that can list all the devices attatched to a given machine.... WMI would be good so that a remote machine can also be queried.... On this I've already had some luck.... The real problems I'm having are: 1. Showing an autochanger (invisable)....? 2. Extracting the serial number for a given device. 3. Extracting the SCSI path to a device I know is SCSI attatched(all I can get is the win ID). 4. Doing it in a managed framework. Does anyone have any ideas??? Thanks Rob :confused:
Use System.Management namespace for mor information visit and search MSDN!
To follow the path, Walk with the MASTER, See through the MASTER, Be the MASTER!