各位大神,如何读取主板厂商信息(求助)

zcc4594776 2015-09-23 12:59:40
如标题,如何读出主板厂商信息,主板厂商的信息存放在哪里?用端口访问吗?访问什么地址的数据
...全文
383 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
zcc4594776 2015-10-15
  • 打赏
  • 举报
回复
搞定了谢谢各位
shen_wei 2015-10-12
  • 打赏
  • 举报
回复
简单的就是 CMD ---》WMIC---->/?
赵4老师 2015-10-12
  • 打赏
  • 举报
回复
C:\>devcon /?
Device Console Help:
devcon [-r] [-m:\\<machine>] <command> [<arg>...]
-r if specified will reboot machine after command is complete, if needed.
<machine> is name of target machine.
<command> is command to perform (see below).
<arg>... is one or more arguments if required by command.
For help on a specific command, type: devcon help <command>
classfilter Allows modification of class filters.
classes List all device setup classes.
disable Disable devices that match the specific hardware or instance ID.
driverfiles List driver files installed for devices.
drivernodes Lists all the driver nodes of devices.
enable Enable devices that match the specific hardware or instance ID.
find Find devices that match the specific hardware or instance ID.
findall Find devices including those that are not present.
help Display this information.
hwids Lists hardware ID's of devices.
install Manually install a device.
listclass List all devices for a setup class.
reboot Reboot local machine.
remove Remove devices that match the specific hardware or instance ID.
rescan Scan for new hardware.
resources Lists hardware resources of devices.
restart Restart devices that match the specific hardware or instance ID.
sethwid Modify Hardware ID's of listed root-enumerated devices.
stack Lists expected driver stack of devices.
status List running status of devices.
update Manually update a device.
updateni Manually update a device (non interactive).
zcc4594776 2015-10-12
  • 打赏
  • 举报
回复
表示不能明白这个devcon和我问的有什么关系
赵4老师 2015-10-11
  • 打赏
  • 举报
回复
搜"devcon"
zcc4594776 2015-10-10
  • 打赏
  • 举报
回复
不是封装好的接口函数读取,这个不通用,能不能介绍一下主板厂商信息存放在主板的什么地址上面,如何通过in 或者 out读取,谢谢了
Pokeeeer 2015-09-23
  • 打赏
  • 举报
回复
WMI中的Win32类监控和管理系统的硬件和特征信息,这些类一般在root/cimv2 WMI 命名空间中。 Win32类主要有一下几类: ·Computer System Hardware Classes ·Operating System Classes ·Installed Applications Classes ·WMI Service Management Classes ·Performance Counters Classes ·Security Descriptor Helper Class 下面列出了常用信息的类: Win32_Processor // CPU 处理器 Win32_PhysicalMemory // 物理内存 Win32_Keyboard // 键盘 Win32_PointingDevice // 点输入设备,如鼠标 Win32_DiskDrive // 硬盘驱动器 Win32_CDROMDrive // 光盘驱动器 Win32_BaseBoard // 主板 Win32_BIOS // BIOS 芯片 Win32_ParallelPort // 并口 Win32_SerialPort // 串口 Win32_SoundDevice // 多媒体设置 Win32_USBController // USB 控制器 Win32_NetworkAdapter // 网络适配器 Win32_NetworkAdapterConfiguration // 网络适配器设置 Win32_Printer // 打印机 Win32_PrinterConfiguration // 打印机设置 Win32_PrintJob // 打印机任务 Win32_TCPIPPrinterPort // 打印机端口 Win32_POTSModem // MODEM Win32_POTSModemToSerialPort // MODEM 端口 Win32_DesktopMonitor // 显示器 Win32_VideoController // 显卡细节。 Win32_VideoSettings // 显卡支持的显示模式。 Win32_TimeZone // 时区 Win32_SystemDriver // 驱动程序 Win32_DiskPartition // 磁盘分区 Win32_LogicalDisk // 逻辑磁盘 Win32_LogicalMemoryConfiguration // 逻辑内存配置 Win32_PageFile // 系统页文件信息 Win32_PageFileSetting // 页文件设置 Win32_BootConfiguration // 系统启动配置 Win32_OperatingSystem // 操作系统信息 Win32_StartupCommand // 系统自动启动程序 Win32_Service // 系统安装的服务 Win32_Group // 系统管理组 Win32_GroupUser // 系统组帐号 Win32_UserAccount // 用户帐号 Win32_Process // 系统进程 Win32_Thread // 系统线程 Win32_Share // 共享 Win32_NetworkClient // 已安装的网络客户端 Win32_NetworkProtocol // 已安装的网络协议

69,382

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧