public void Close() { if (dataStream != null) { dataStream.Dispose(); } if (device != null) { device.Dispose(); } if (imageBuffer != null) { imageBuffer.Dispose(); } if (stillImageFiler != null) { stillImageFiler.Dispose(); } }
public void Close() { if (dataStream != null) { dataStream.Dispose(); } if (device != null) { device.Dispose(); } if (imageBuffer != null) { imageBuffer.Dispose(); } if (stillImageFiler != null) { stillImageFiler.Dispose(); } }