C#获取计算机系统信息的方法.docVIP

  • 4
  • 0
  • 约3.1万字
  • 约 18页
  • 2020-12-08 发布于四川
  • 举报
C#获取系统信息 方法一:利用注册表获取 //RegistryKey 类所需要的包: //RegistryKey 类所需要的包: using Microsoft.Win32; //DllImport方法所需要的包: using System.Runtime.InteropServices; //StringBuilder所需要的包: using System.Text; //声明API函数 ?????? [DllImport(kernel32)] ?????? public static extern void GetWindowsDirectory(StringBuilder WinDir

文档评论(0)

1亿VIP精品文档

相关文档