Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using the list of attached webcams
// Get the list of connected video cameras
DsDevice[] devs = DsDevice.GetDevicesOfCat(FilterCategory.VideoInputDevice);
// Filter that list down to the one with hyper-aggressive focus
var dev = devs.Where(d => d.Name.Equals("Microsoft® LifeCam HD-5000")).FirstOrDefault();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment