如何使用C#.net代码检查Web Cam是否可用 [英] How to check Web Cam is available or not by using C#.net code
本文介绍了如何使用C#.net代码检查Web Cam是否可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
现在我正在C#.net中进行图像捕获项目,我的要求是首先检查网络摄像头是否可用.
请帮助我解决此代码.
预先感谢您的帮助
Now i am doing a Image Capturing Project in C#.net and my requirement is to first check whether Web cam is available or not.
Please help me regarding this code.
Advance Thanks for help
推荐答案
您使用过Google吗?
您可以尝试将许多示例用于您的项目.
例如此处的CP:
通用的WebCam C#库 [使用WIA的WebCam快速图像捕获服务 [
Have you used google?
There are lot''s of examples that you can try to use for your project.
For example here on CP:
Versatile WebCam C# library[^]
WebCam Fast Image Capture Service using WIA[^]
您可以找到有关Webcam + C#的很好的文章. NET在 http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx
You can find a very good article on Webcam + C#.NET at http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx
这篇关于如何使用C#.net代码检查Web Cam是否可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文