DeviceList.TryGetHidDevice Method HIDSharp

Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public bool TryGetHidDevice(
	out HidDevice device,
	Nullable<int> vendorID = null,
	Nullable<int> productID = null,
	Nullable<int> releaseNumberBcd = null,
	string serialNumber = null
)

Parameters

device
Type: HidSharp.HidDevice
vendorID (Optional)
Type: System.Nullable<Int32>
productID (Optional)
Type: System.Nullable<Int32>
releaseNumberBcd (Optional)
Type: System.Nullable<Int32>
serialNumber (Optional)
Type: System.String

Return Value

Type: Boolean
See Also

Reference