Hardware Detection

Exquisite

Member
Joined
Dec 2, 2014
Messages
5
Programming Experience
1-3
Good day! Is it possible to detect hardware peripherals such as FLASH DRIVE, USB MOUSE, USB KEYBOARD ETC. using vb.net? Thanks in advance! :)
 
Detect as in what? Just see that they are connected? Then yes. They are all USB devices, so you would need to use an USB library. I posted one here .

If you mean enumerate them or provide functionality to them, then no, you need to use the respective APIs for them (storage, human interface, etc...).
 
If I insert a USB mouse the system will detect that a USB device was connected on a PC. BTW I'm doing Computer Laboratory Inventory and Management System for my thesis. One scenario, If I insert a USB mouse on the computer(CLIENT SIDE) then on the SERVER it will show that I insert a USB mouse on that PC and the date, time, the number of the computer where I insert the USB mouse will save on the DATABASE of the server. Sorry if I'm bad in English. :D
 
Back
Top