Click or drag to resize

TwainMemory.Lock Method

Locks the moveable memory for read / write operations.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public void Lock()
Remarks
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