Thanks for Downloading Dynamic Web TWAIN 30-Day Trial!
Your download will start shortly. If your download does not begin, click here to retry.
Capture/Image Source
Can I hide webcam devices from the select source list?
Many webcam devices may use WIA drivers. As explained in this article, WIA drivers can also be detected by the Dynamic Web TWAIN SDK. For devices accessed via TWAIN, you can check whether the source supports the CAP_CAMERAPREVIEWUI capability using getCapabilities — sources that support it are typically cameras, so you can skip them from your source list.
Please note that you would need to call OpenSource API to open a source before you can query its capabilities. If there are any offline devices in the source name list, this process would be interrupted.
A simpler workaround that doesn’t require opening each source is to exclude sources by detecting certain keywords in the source name list — e.g. excluding any source names containing ‘camera’ or ‘webcam’. Please refer to this FAQ for more details.
Original post creation date: Dec 08, 2021
Last modified date: Jul 30, 2026