private bool Snapshot(string imagePath, emDSFileType fileType) { if (this.IsOpen && (CGAPI.IsReceivingData(mDeviceHandle) == 1)) { DeviceStatus devStatus = CGAPI.CaptureFile(mDeviceHandle, imagePath, fileType); return(devStatus == DeviceStatus.STATUS_OK); } return(false); }