title: How to capture image from client webcam in asp.net
body: <p>I am working on an ASP.Net application and I want users to be able to take a picture with their local webcam and then upload it to the server.
  I can, of course, rely on users doing this manually via their locally installed software, save the image as a file and do a normal file upload. However, what I really want to do is incorporate it all into a UI in the browser. 
  I know this means accessing local resources so do I need an ActiveX control or Silverlight or is there something I could do in Javascript for example?</p>
  
  <p>This is initially intended for an Intranet app so I can have control of the client's environemnt, including stipulating the browser etc, which means I <i>can</I> use an ActiveX control if I have to. However, it would be nice if I could write this in a generic way so it could be used in an internet app generally (happy to stipulate that it only works on Windows clients but would be good to get it to work in FireFox).</p>
  
  <p>Thanks.</p>