webcam wpf code example
Example: aforge wpf webcam
var videoDevicesList = new FilterInfoCollection(FilterCategory.VideoInputDevice);
foreach (FilterInfo videoDevice in videoDevicesList)
{
cmbVideoSource.Items.Add(videoDevice.Name);
}
var videoDevicesList = new FilterInfoCollection(FilterCategory.VideoInputDevice);
foreach (FilterInfo videoDevice in videoDevicesList)
{
cmbVideoSource.Items.Add(videoDevice.Name);
}