Udostępnij za pośrednictwem


Win32_PnPSignedDriver class

The Win32_PnPSignedDriver WMI class provides digital signature information about drivers.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_PnPSignedDriver : CIM_Service
{
  string   ClassGuid;
  string   CompatID;
  string   Description;
  string   DeviceClass;
  string   DeviceID;
  string   DeviceName;
  string   DevLoader;
  string   DriverDate;
  string   DriverName;
  string   DriverVersion;
  string   FriendlyName;
  string   HardWareID;
  string   InfName;
  datetime InstallDate;
  boolean  IsSigned;
  string   Location;
  string   Manufacturer;
  string   Name;
  string   PDO;
  string   DriverProviderName;
  string   Signer;
  boolean  Started;
  string   StartMode;
  string   Status;
  string   SystemCreationClassName;
  string   SystemName;
};

Members

The Win32_PnPSignedDriver class has these types of members:

  • Methods
  • Properties

Methods

The Win32_PnPSignedDriver class has these methods.

Method Description
StartService

Starts the service.

StopService

Stops the service.

 

Properties

The Win32_PnPSignedDriver class has these properties.

ClassGuid

Data type: string

Access type: Read-only

GUID of the device class. Example: "{71A27CDD-11D0-BEC7-08002BE2092F}"

CompatID

Data type: string

Access type: Read-only

Compatibility identifier for the driver. Example: "DETECTEDInternal\ftdisk"

Description

Data type: string

Access type: Read-only

Description of the driver.

DeviceClass

Data type: string

Access type: Read-only

Device class of the driver. Example: "SYSTEM"

DeviceID

Data type: string

Access type: Read-only

Device identifier of the device. Example: "ROOT\FTDISK\0000"

DeviceName

Data type: string

Access type: Read-only

Name of the device.

DevLoader

Data type: string

Access type: Read-only

Device loader for the device.

DriverDate

Data type: string

Access type: Read-only

Build date of the driver (from the manufacturer). Example: "1-25-2001"

DriverName

Data type: string

Access type: Read-only

Name of the driver.

DriverProviderName

Data type: string

Access type: Read-only

Provider of the driver. Example: "Microsoft"

DriverVersion

Data type: string

Access type: Read-only

Version of the driver. Example: "5.1.2427.1"

FriendlyName

Data type: string

Access type: Read-only

Friendly name of the driver. Example: "Communications Port (COM2)"

HardWareID

Data type: string

Access type: Read-only

Hardware identifier for the driver. Example: "ROOT\FTDISK"

InfName

Data type: string

Access type: Read-only

Name of the .inf file that installed the device. Example: "machine.inf"

InstallDate

Data type: datetime

Access type: Read-only

Date the driver was installed. Lack of value does not indicate that the driver is not installed. This property is inherited from CIM_ManagedSystemElement.

IsSigned

Data type: boolean

Access type: Read-only

If TRUE, the driver is signed.

Location

Data type: string

Access type: Read-only

Location of the driver.

Manufacturer

Data type: string

Access type: Read-only

Manufacturer of the driver. Example: "Microsoft"

Name

Data type: string

Access type: Read-only

Qualifiers: Key

Name of the driver. This property is inherited from CIM_ManagedSystemElement.

PDO

Data type: string

Access type: Read-only

Physical device object (PDO). PDOs represent individual devices on a bus. Other drivers for the device attach on top of the PDO. It is always at the bottom of the device stack. Example: "\Device\00000002"

Signer

Data type: string

Access type: Read-only

Signer of driver, if it is signed. Example: "ntbuild"

Started

Data type: boolean

Access type: Read-only

If TRUE, the driver is started. This property is inherited from CIM_Service.

StartMode

Data type: string

Access type: Read-only

Start mode of the driver. This property is inherited from CIM_Service.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10)

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", can apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.

The values are:

"OK"

"Error"

"Degraded"

"Unknown"

"Pred Fail"

"Starting"

"Stopping"

"Service"

"Stressed"

"NonRecover"

"No Contact"

"Lost Comm"

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key

Value of the scoping computer's CreationClassName property. This property is inherited from CIM_Service.

SystemName

Data type: string

Access type: Read-only

Qualifiers: Key

System name. This property is inherited from CIM_Service.

Remarks

For more information on using this class, see How Can I Get a List of Installed Device Drivers? and Hey, Scripting Guy! How Can I Tell If a Computer Has a SmartCard Reader Attached?.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

Root\CIMV2

MOF

WhqlProv.mof

DLL

SignDrv.dll

See also

Computer System Hardware Classes