I have a USB camera. I need to have a dialog that displays a live image and also has a button that when pressed will save an image from the camera to a jpeg file. I need the source code as I will add this into a project that I am working on. It needs to be written in Visual Studio C#. I don't think that the type of USB camera matters.