转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 软件开发 >> VB.NET程序 >> 正文
VB中使用WMI获取系统硬件和软件有关信息         ★★★★
Win32_NetworkAdapter Represents a network adapter on a Windows system. Win32_NetworkAdapterConfiguration Represents the attributes and behaviors of a network adapter. The class is not guaranteed to be supported after the ratification of the Distributed Management Task Force (DMTF) CIM network specification. Win32_NetworkAdapterSetting Relates a network adapter and its configuration settings.

Power Classes

The Power subcategory groups classes that represent power supplies, batteries, and events related to these devices.

Win32_AssociatedBattery Relates a logical device and the battery it is using. Win32_Battery Represents a battery connected to the computer system. Win32_CurrentProbe Represents the properties of a current monitoring sensor (ammeter). Win32_PortableBattery Represents the properties of a portable battery, such as one used for a notebook computer. Win32_PowerManagementEvent Represents power management events resulting from power state changes. Win32_UninterruptiblePowerSupply Represents the capabilities and management capacity of an uninterruptible power supply (UPS). Win32_VoltageProbe Represents the properties of a voltage sensor (electronic voltmeter).

Printing Classes

The Printing subcategory groups classes that represent printers, printer configurations, and print jobs.

Win32_DriverForDevice Relates a printer to a printer driver. Win32_Printer Represents a device connected to a Windows computer system that is capable of reproducing a visual image on a medium. Win32_PrinterConfiguration Defines the configuration for a printer device. Win32_PrinterController Relates a printer and the local device to which the printer is connected. Win32_PrinterDriver Represents the drivers for a Win32_Printer instance. Win32_PrinterDriverDll Relates a local printer and its driver file (not the driver itself). Win32_PrinterSetting Relates a printer and its configuration settings. Win32_PrintJob Represents a print job generated by a Windows application. Win32_TCPIPPrinterPort Represents a TCP/IP service access point.

Telephony Classes

The Telephony subcategory groups classes that represent "plain old telephone" modem devices and their associated serial connections.

Win32_POTSModem Represents the services and characteristics of a Plain Old Telephone Service (POTS) modem on a Windows system. Win32_POTSModemToSerialPort Relates a modem and the serial port the modem uses.

Video and Monitor Classes

The Video and Monitors subcategory groups classes that represent monitors, video cards, and their associated settings.

Win32_DesktopMonitor Represents the type of monitor or display device attached to the computer system. Win32_DisplayConfiguration Represents configuration information for the display device on a Windows system. This class is obsolete. In place of this class, use the properties in the Win32_VideoController, Win32_DesktopMonitor, and CIM_VideoControllerResolution classes. Win32_DisplayControllerConfiguration Represents the video adapter configuration information of a Windows system. This class is obsolete. In place of this class, use the properties in the Win32_VideoController, Win32_DesktopMonitor, and CIM_VideoControllerResolution classes. Win32_VideoConfiguration This class has been eliminated from Windows XP and later; attempts to use it will generate a fatal error. In place of this class, use the properties contained in the Win32_VideoController, Win32_DesktopMonitor, and CIM_VideoControllerResolution classes. Win32_VideoController Represents the capabilities and management capacity of the video controller on a Windows computer system. Win32_VideoSettings Relates a video controller and video settings that can be applied to it.

 

而每一个类都有对应的数据结构如

显卡

class Win32_VideoController : CIM_PCVideoController
{
  uint16 AcceleratorCapabilities[];
  string AdapterCompatibility;
  string AdapterDACType;
  uint32 AdapterRAM;
  uint16 Availability;
  string CapabilityDescriptions[];
  string Caption;
  uint32 ColorTableEntries;
  uint32 ConfigManagerErrorCode;
  boolean ConfigManagerUserConfig;
  string CreationClassName;
  uint32 CurrentBitsPerPixel;
  uint32 CurrentHorizontalResolution;
  uint64 CurrentNumberOfColors;
  uint32 CurrentNumberOfColumns;
  uint32 CurrentNumberOfRows;
  uint32 CurrentRefreshRate;
  uint16 CurrentScanMode;
  uint32 CurrentVerticalResolution;
  string Description;
  string DeviceID;
  uint32 DeviceSpecificPens;
  uint32 DitherType;
  datetime DriverDate;
  string DriverVersion;
  boolean ErrorCleared;
  string ErrorDesc

上一页  [1] [2] [3]  下一页


[常用软件]在Maxthon中使用Google网站加速器  [常用软件]在POWERBUILDER中使用WINSOCK控件的方法
[VB.NET程序]在VB.NET中使用MS Access存储过程 — 第二部份  [VB.NET程序]在VB.NET中使用MS Access存储过程 — 第一部份
[VB.NET程序]在 VB 中使用 Unicode API  [Delphi程序]DELPHI中使用API函数详解
[Delphi程序]在Delphi中使用Queued 组件  [Delphi程序]在delphi中使用flash控件
[Delphi程序]在delphi中使用xml文档有两种方法  [Delphi程序]Delphi 7 中使用RAVE报表(一)

VB中使用WMI获取系统硬件和软件有关信息

作者:闵涛 文章来源:闵涛的学习笔记 点击数:3541 更新时间:2009/4/23 18:59:16
eviceSettings Relates a logical device and a setting that can be applied to it. Win32_DMAChannel Represents a direct memory access (DMA) channel on a Windows computer system. Win32_FloppyController Represents the capabilities and management capacity of a floppy disk drive controller. Win32_IDEController Represents the capabilities of an Integrated Drive Electronics (IDE) controller device. Win32_IDEControllerDevice Association class that relates an IDE controller and the logical device. Win32_InfraredDevice Represents the capabilities and management of an infrared device. Win32_IRQResource Represents an interrupt request line (IRQ) number on a Windows computer system. Win32_MemoryArray Represents the properties of the computer system memory array and mapped addresses. Win32_MemoryArrayLocation Relates a logical memory array and the physical memory array upon which it exists. Win32_MemoryDevice Represents the properties of a computer system''''s memory device along with it''''s associated mapped addresses. Win32_MemoryDeviceArray Relates a memory device and the memory array in which it resides. Win32_MemoryDeviceLocation Association class that relates a memory device and the physical memory on which it exists. Win32_MotherboardDevice Represents a device that contains the central components of the Windows computer system. Win32_OnBoardDevice Represents common adapter devices built into the motherboard (system board). Win32_ParallelPort Represents the properties of a parallel port on a Windows computer system. Win32_PCMCIAController Manages the capabilities of a Personal Computer Memory Card Interface Adapter (PCMCIA) controller device. Win32_PhysicalMemory Represents a physical memory device located on a computer as available to the operating system. Win32_PhysicalMemoryArray Represents details about the computer system''''s physical memory. Win32_PhysicalMemoryLocation Relates an array of physical memory and its physical memory. Win32_PNPAllocatedResource Represents an association between logical devices and system resources. Win32_PNPDevice Relates a device (known to Configuration Manager as a PNPEntity), and the function it performs. Win32_PNPEntity Represents the properties of a Plug and Play device. Win32_PortConnector Represents physical connection ports, such as DB-25 pin male, Centronics, and PS/2. Win32_PortResource Represents an I/O port on a Windows computer system. Win32_Processor Represents a device capable of interpreting a sequence of machine instructions on a Windows computer system. Win32_SCSIController Represents a small computer system interface (SCSI) controller on a Windows system. Win32_SCSIControllerDevice Relates a SCSI controller and the logical device (disk drive) connected to it. Win32_SerialPort Represents a serial port on a Windows system. Win32_SerialPortConfiguration Represents the settings for data transmission on a Windows serial port. Win32_SerialPortSetting Relates a serial port and its configuration settings. Win32_SMBIOSMemory Represents the capabilities and management of memory-related logical devices. Win32_SoundDevice Represents the properties of a sound device on a Windows computer system. Win32_SystemBIOS Relates a computer system (including data such as startup properties, time zones, boot configurations, or administrative passwords) and a system BIOS (services, languages, system management properties). Win32_SystemDriverPNPEntity Relates a Plug and Play device on the Windows computer system and the driver that supports the Plug and Play device. Win32_SystemEnclosure Represents the properties associated with a physical system enclosure. Win32_SystemMemoryResource Represents a system memory resource on a Windows system. Win32_SystemSlot Represents physical connection points including ports, motherboard slots and peripherals, and proprietary connections points. Win32_USBController Manages the capabilities of a universal serial bus (USB) controller. Win32_USBControllerDevice Relates a USB controller and the CIM_LogicalDevice instances connected to it. Win32_USBHub Represents the management characteristics of a USB hub.

Networking Device Classes

The Networking Devices subcategory groups classes that represent the network interface controller, its configurations, and its settings.

Class Description Class Description Class Description Class Description Class Description
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · C语言系列  · VB.NET程序
    · JAVA开发  · Delphi程序
    · 脚本语言
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台