Skip to content

libsodium.SecureMemoryblock.AllowSwap

Andrew Lambert edited this page Nov 26, 2022 · 6 revisions

Property declaration

 Dim AllowSwap As Boolean = True

Remarks

Gets and sets the whether the operating system may swap-out the pages containing the SecureMemoryBlock. This is a suggestion, not a command, and the OS is free to ignore it. Setting this to False may improve security by preventing sensitive memory pages from being written to disk. The default is True, which means the pages are subject to swapping at any time.

Clone this wiki locally