XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.MemoryEditor

【DLL】内存读写工具/编辑器

公开
关注 0 Fork 0 Star 0
UTF-8
using System.Collections;
using System.Diagnostics;

namespace XFEExtension.NetCore.MemoryEditor.Manager;

/// <summary>
/// 内存管理器
/// </summary>
public interface IMemoryManager : IEnumerable, IDisposable
{
    /// <summary>
    /// 当前目标进程
    /// </summary>
    Process? CurrentProcess { get; set; }
    /// <summary>
    /// 内存编辑器
    /// </summary>
    MemoryEditor Editor { get; }
    /// <summary>
    /// 进程句柄
    /// </summary>
    nint ProcessHandler { get; set; }
    /// <summary>
    /// 移除指定标识名的地址
    /// </summary>
    /// <param name="addressName"></param>
    void Remove(string addressName);
}