DeviceTryOpen Method (DeviceStream)

HIDSharp
Tries to make a connection to the device.

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

public bool TryOpen(
	out DeviceStream stream
)

Parameters

stream
Type: HidSharpDeviceStream
The stream to use to communicate with the device.

Return Value

Type: Boolean
true if the connection was successful.
See Also

Reference