user-0 提问: 各位大神,如何读取主板厂商信息(求助)

回复:
user: user-0
content: 搞定了谢谢各位

user: user-1
content: 简单的就是 CMD ---》WMIC---->/?

user: user-2
content: 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).

user: user-0
content: 表示不能明白这个devcon和我问的有什么关系

user: user-2
content: 搜"devcon"

user: user-0
content: 不是封装好的接口函数读取,这个不通用,能不能介绍一下主板厂商信息存放在主板的什么地址上面,如何通过in 或者 out读取，谢谢了

user: user-3
content: 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                  // 已安装的网络协议