Ejemplo n.º 1
0
        private static Device GetDevice(Camera camera)
        {
            string cameraName = camera.ToString();

            var device = new Device("Webcam - " + cameraName, cameraName, cameraName, DateTime.Now, "DriverWebCam", false);
            return device;
        }
        public CameraFrameSource([Import(ExportInterfaceNames.DefaultCamera)] Camera camera)
        {
            if (camera == null) throw new ArgumentNullException("camera");

            this.Camera = camera;
        }