Class DriverMetadata
Extended information about a hardware ID handled by a driver update. A driver update matches one or more hardware ids; each match has its own metadata that describes it.
Inheritance
Implements
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Drivers
Assembly: package-graph-microsoft-update.dll
Syntax
public class DriverMetadata : IComparable
Fields
| Improve this Doc View SourceDistributionComputerHardwareId
List of distribution computer hardware ids. A driver update that contains distribution computer hardware ids is only offered to computers that match the computer hardware id, regardless of device hardware id matching.
See the driver publishing manual for information on how this field is used for device matching.
Declaration
[JsonProperty]
public List<Guid> DistributionComputerHardwareId
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Guid> | List of distribution computer hardware ids. |
FeatureScores
List of driver feature scores.
See feature score documentation for more information.
Declaration
[JsonProperty]
public List<DriverFeatureScore> FeatureScores
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<DriverFeatureScore> | List of feature scores |
TargetComputerHardwareId
List of target computer hardware ids. A driver update that contains target computer hardware ids is only offered to computers that match the computer hardware id, regardless of device hardware id matching.
See the driver publishing manual for information on hwo this field is used for device matching.
Declaration
[JsonProperty]
public List<Guid> TargetComputerHardwareId
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Guid> | List of target computer hardware ids. |
Properties
| Improve this Doc View SourceClass
Gets the driver class type
Declaration
[JsonProperty]
public string Class { get; set; }
Property Value
Type | Description |
---|---|
System.String | Driver class (graphics, USB, etc.) |
Company
Gets the Company that created the driver
Declaration
[JsonProperty]
public string Company { get; }
Property Value
Type | Description |
---|---|
System.String | Company name |
HardwareID
Gets the hardware IDs this driver update is applicable to
Declaration
[JsonProperty]
public string HardwareID { get; }
Property Value
Type | Description |
---|---|
System.String | Hardware ID string |
Manufacturer
Gets the driver manufacturer
Declaration
[JsonProperty]
public string Manufacturer { get; }
Property Value
Type | Description |
---|---|
System.String | Manufacturer name |
Provider
Gets the entity that provided the driver.
Declaration
[JsonProperty]
public string Provider { get; }
Property Value
Type | Description |
---|---|
System.String | Driver provider name |
Versioning
Gets driver vesion information
Declaration
[JsonProperty]
public DriverVersion Versioning { get; }
Property Value
Type | Description |
---|---|
DriverVersion | Driver version |
WhqlDriverID
Gets the Windows Hardware Quality Lab driver ID
Declaration
[JsonProperty]
public string WhqlDriverID { get; }
Property Value
Type | Description |
---|---|
System.String | WHQL driver ID string |
Methods
| Improve this Doc View SourceCompareTo(Object)
Compare two DriverMetadata by their date and version
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Int32 |