Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am developing an application which has to detect the biometric device if plugged and show the message that device detected. I need the code in c# or java for detecting a device
Posted
Updated 22-Dec-10 2:51am
v2

1 solution

Since you didn't say one way or the other...

If it's a USB device, you can simply intercept the approprioate windows message that notifies the system that a new device is plugged in. Here's a CodeProject article that I found using google.

Enumerate and Auto-Detect USB Drives[^]

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900