摘要: C#读、写、删除注册表 1.首先,必须导入空间"Microsoft.Win32" 2.利用Registry类,确定注册表的分支(ClassesRoot,CurrentUser,Users,LocalMachine,CurrentConfig) using Microsoft.Win32; Regis 阅读全文
posted @ 2023-03-04 17:55 感生 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 一、创建生成机器码的类 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Management;//添加引用注册表 namespace DisDemo{ int 阅读全文
posted @ 2023-03-04 17:51 感生 阅读(532) 评论(0) 推荐(0) 编辑