Click here to Skip to main content
15,948,339 members

1 solution

In order for you to do webcam image capture, you need to send a component to the browser, you can't do it in ASP.NET. You may think you can, but you'll find that your capture is happening on the server, not the client. You need to read a basic ASP.NET book to understand how it and the world wide web, work.
 
Share this answer
 
Comments
Pavankumar s k 18-Jul-12 5:30am    
Can you suggest the way to work for webcam image capture with asp.net in C#
Christian Graus 18-Jul-12 5:33am    
I told you it was impossible and it is. You can embed an ActiveX or other plugin type object in your ASP.NET website, but ASP.NET generates HTML and javascript, and neither of those can control a webcam. I googled and just found lots of people who also don't understand how the internet works, asking the same question. You need to write this in flash, or in ActiveX, or something else. ASP.NET can't do it, your code runs on the server.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900