Skip to content

Using a webcam...

Guest User

Asked Jul 2, 2007, 10:11 AM EDT1 answer
Share
LinkedInX
I want to do a little work with webcams but I'm not sure as to what component to use... heres my code: using System; using System.Data; using System.Linq; using System.Web; using System.Collections; using System.Web.Services; using System.Web.Services.Protocols; using System.ComponentModel; namespace WebService1 { [WebMethod] public byte[] GrabFrame( short nQuality ) { //Shoot a picture from my webcam CAMSERVERLib.Camera cam = new CAMSERVERLib.CameraClass(); return (byte[])cam.GrabFrame( nQuality ); } }

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.