public void Release() { MemoryHelper.Free(m_Process.Handle, BaseAddress); BaseAddress = IntPtr.Zero; }
internal RemoteAllocation(RemoteProcess process, int size, MemoryProtectionFlags protect, bool mustBeDisposed) : base(process, MemoryHelper.Allocate(process.Handle, size, protect)) { MustBeDisposed = mustBeDisposed; }