DeviceListTryGetHidDevice 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: HidSharpHidDevice
vendorID (Optional)
Type: SystemNullableInt32
productID (Optional)
Type: SystemNullableInt32
releaseNumberBcd (Optional)
Type: SystemNullableInt32
serialNumber (Optional)
Type: SystemString

Return Value

Type: Boolean
See Also

Reference