HidDevice TryOpen Method | HIDSharp |
Tries to make a connection to the USB HID class device.
Namespace: HidSharpAssembly: HidSharp (in HidSharp.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
public bool TryOpen( out HidStream stream )
Public Function TryOpen ( _ <OutAttribute> ByRef stream As HidStream _ ) As Boolean
Public Function TryOpen ( _ <OutAttribute> ByRef stream As HidStream _ ) As Boolean
public: bool TryOpen( [OutAttribute] HidStream^% stream )
public: bool TryOpen( [OutAttribute] HidStream^% stream )
member TryOpen : stream : HidStream byref -> bool
Parameters
- stream
- Type: HidSharp HidStream
The stream to use to communicate with the device.
Return Value
True if the connetion was successful.See Also