/* This software is licensed by the MIT License, see LICENSE file */ /* Copyright © 2024-2025 Gregory Lirent */ using WebmrAPI.Utils; namespace WebmrAPI.Models { public class MemoryRegionInfo : MemoryRegion { private WindowsProcess.MemoryState _state = 0; private WindowsProcess.MemoryPageProtectionState _protect = 0; private WindowsProcess.MemoryType _type = 0; public WindowsProcess.MemoryState MemoryState { get => LockedGet(ref _state); set => LockedSet(ref _state, value); } public WindowsProcess.MemoryPageProtectionState MemoryPageProtection { get => LockedGet(ref _protect); set => LockedSet(ref _protect, value); } public WindowsProcess.MemoryType MemoryType { get => LockedGet(ref _type); set => LockedSet(ref _type, value); } } }