Skip to content

libsodium.SecureMemoryblock.ProtectionLevel

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

libsodium.SecureMemoryblock.ProtectionLevel

Property declaration

 Dim ProtectionLevel As libsodium.ProtectionLevel

Remarks

Gets and sets the current ProtectionLevel of the SecureMemoryBlock. The default is ProtectionLevel.ReadWrite.

Syntax example

 Dim mb As New libsodium.SecureMemoryBlock(64)
 mb.ProtectionLevel = libsodium.ProtectionLevel.ReadOnly

Clone this wiki locally