public void Shoot(IImageHandler imageHandler) { EDSDK.EdsCapacity capacity = new EDSDK.EdsCapacity(); capacity.BytesPerSector = 1000; capacity.NumberOfFreeClusters = (int)UInt16.MaxValue; capacity.Reset = 1; SDKHelper.CheckError(EDSDK.EdsSetCapacity(_pointer, capacity)); SendShootCommand(imageHandler, EDSDK.CameraCommand_TakePicture, (int)0); }