DriverCatalogDevice.AddHardware Method (String, Boolean)
Adds a hardware definition to the device. This method is not thread safe and is only used in request messages.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public void AddHardware(
string hardwareId,
bool compatible
)
public:
void AddHardware(
String^ hardwareId,
bool compatible
)
Public Sub AddHardware (
hardwareId As String,
compatible As Boolean
)
Parameters
hardwareId
Type: System.StringThe ID of the hardware.
compatible
Type: System.BooleanTrue if the driver is compatible.
See Also
AddHardware Overload
DriverCatalogDevice Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top