Click or drag to resize

TwainMemoryLock Method

Locks the moveable memory for read / write operations.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: (.NET 4.5.2, x86)
public void Lock()
If a Read* or Write* method is called, these methods will automatically lock, perform the operation and unlock the memory. However, if reading or writing multiple values it's better to call Lock and Unlock manually.
See Also