How do I connect to a USB webcam in .NET?


I want to connect to a USB Webcam in .NET, specifically using C#. Being new to .NET I don't know what kind of support there is in the standard libraries for doing so. I found one example on the web that copies bitmaps through the clipboard, but that seems very hacky (and probably slow). Is there a better way?

9/22/2008 6:18:07 AM

You will need to use Windows Image Acquisition (WIA) to integrate a webcam with your application. There are plenty examples of this readily available. Here is a C# Webcam User Control with source.

Here are some more articles and blog posts from people looking to solve the same problem you are:

10/17/2018 3:20:30 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow