Binarysharp.MemoryManagement.Memory.MemoryProtection.Dispose C# (CSharp) Méthode

Dispose() public méthode

Restores the initial protection of the memory.
public Dispose ( ) : void
Résultat void
        public virtual void Dispose()
        {
            // Restore the memory protection
            MemoryCore.ChangeProtection(_memorySharp.Handle, BaseAddress, Size, OldProtection);
            // Avoid the finalizer
            GC.SuppressFinalize(this);
        }