Hi zahid,
Welcome to the MSDN forum.
As far as I know, there is no direct way in C# to do so. I think you may need an InterOp wrapper about
DirectShow. If so, you can try
http://www.codeproject.com/cs/media/directshownet.asp, it shows how to use DirectShow with .NET and C# and includes capturing video streams. You can also try
http://www.codeproject.com/cs/media/directxcapture.asp which is a .NET class library for capturing video.
In addition, for ASP.NET issue you can consider posting it at the following more appropriate forum for more efficient responses. Thanks.
http://forums.asp.net
Have a nice day.
Bob Shen [MSFT]
MSDN Community Support | Feedback to us
