Create a new Capture object. videoDevice and audioDevice can be null if you do not wish to capture both audio and video. However at least one must be a valid device. Use the Filters class to list available devices.
See Also
Capture Class | Capture Members | DirectX.Capture Namespace