you can use this library:
It's extremely useful library and here is how to use it:
1.Initialize it at first:
webcam = new WebCam();
MyImageBox being the
Windows Forms Picture Box to use to show video Frames and/or captured images.
2.Store your captured image:
To capture an image you can simply get the current image from the
var MyCapturedImage = MyImageBox.Image;
that's it, hope that helps.