Class DriverMatchResult
The result of finding the best driver update for a device.
Contains ranking information that can be used to determine if the matched driver update is better than an installed driver.
Inheritance
System.Object
DriverMatchResult
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Drivers
Assembly: package-graph-microsoft-update.dll
Syntax
public class DriverMatchResult
Constructors
| Improve this Doc View SourceDriverMatchResult(DriverUpdate)
Create a driver match result for a device
Declaration
public DriverMatchResult(DriverUpdate driver)
Parameters
Type | Name | Description |
---|---|---|
DriverUpdate | driver | The driver that matched a device hardware id |
Fields
| Improve this Doc View SourceDriver
The matched driver
Declaration
public DriverUpdate Driver
Field Value
Type | Description |
---|---|
DriverUpdate | An update of type Driver |
MatchedComputerHardwareId
The computer hardware ID that was matched, if any. Null otherwise
Declaration
public Guid? MatchedComputerHardwareId
Field Value
Type | Description |
---|---|
System.Nullable<System.Guid> | Computer hardware ID (GUID) |
MatchedFeatureScore
The feature score of the matched driver if available; null otherwise
Declaration
public DriverFeatureScore MatchedFeatureScore
Field Value
Type | Description |
---|---|
DriverFeatureScore | Driver feature score |
MatchedHardwareId
The most specific device hardwared ID that was matched
Declaration
public string MatchedHardwareId
Field Value
Type | Description |
---|---|
System.String | Hardware ID string |
MatchedVersion
The version of the matched driver
Declaration
public DriverVersion MatchedVersion
Field Value
Type | Description |
---|---|
DriverVersion | Driver version consisting of timestamp and 4 part version |