Click or drag to resize
ImDiskDeviceSaveImageFile Method (String, UInt32, ActionActionBoolean)
Saves contents of disk device to an image file while pumping window messages between reads and writes.

Namespace: LTR.IO.ImDisk
Assembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax
[ComVisibleAttribute(false)]
public void SaveImageFile(
	string ImageFile,
	uint BufferSize,
	Action<Action<bool>> CancelAction
)

Parameters

ImageFile
Type: SystemString
Name of file to which disk contents will be written.
BufferSize
Type: SystemUInt32
Buffer size to use when transferring data from disk device to file.
CancelAction
Type: SystemActionActionBoolean
A boolean flag that will be checked between buffer reads/writes. If flag is set to True operation will be cancelled and an exception thrown.
See Also