i am developing application to capture image from webcam using .net and directshow.

i want to capture image when the hardware button available on webcam is pressed.i cant be able to do it using directshow library.Is there any way in directshow to detect webcam hardware button press event so that i can capture image on that event and save it?

i am using the intraoral webcam used by dentists.

please provide complete code. i am really stuck with this issue.

any help regarding this is appreciatable.

thanks & regards,