void Captureshow(CameraDevice cam, RoundImageView iv) { try { cam.StartAcquisition(); cam.Trigger(); var img = cam.Capture(); cam.StopAcquisition(); iv.SetImage(img); } catch (Exception ex) { Logger.Error(ex.Message); } }