Class DriverUpdateMatching
Indexes driver matching metadata from a metadata store. Efficiently checks if a driver is available in the metadata store for a specific hardware ID.
Inheritance
System.Object
DriverUpdateMatching
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Drivers
Assembly: package-graph-microsoft-update.dll
Syntax
public class DriverUpdateMatching
Methods
| Improve this Doc View SourceFromPackageSource(IMetadataStore)
Loads driver update matching metadata from a metadata store.
Declaration
public static DriverUpdateMatching FromPackageSource(IMetadataStore packageSource)
Parameters
Type | Name | Description |
---|---|---|
IMetadataStore | packageSource |
Returns
Type | Description |
---|---|
DriverUpdateMatching |
MatchDriver(IEnumerable<String>, IEnumerable<Guid>, List<Guid>)
Finds the best match for a driver update that matches the specified hardware ids and computer hardware ids
Declaration
public DriverMatchResult MatchDriver(IEnumerable<string> hardwareIds, IEnumerable<Guid> computerHardwareIds, List<Guid> installedPrerequisites)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | hardwareIds | Device hardware ids, sorted from specific to generic |
System.Collections.Generic.IEnumerable<System.Guid> | computerHardwareIds | List of computer hardware ids |
System.Collections.Generic.List<System.Guid> | installedPrerequisites | List of prerequisites installed on the target computer. Used to filter updates to just those applicable to a system |
Returns
Type | Description |
---|---|
DriverMatchResult | If a driver match is found, matching information; null otherwise |