Namespace: HidSharpAssembly: HidSharp (in HidSharp.dll) Version: 2.0.0
public bool TryGetSerialDevice(
out SerialDevice device,
string portName
)
Public Function TryGetSerialDevice (
<OutAttribute> ByRef device As SerialDevice,
portName As String
) As Boolean
public:
bool TryGetSerialDevice(
[OutAttribute] SerialDevice^% device,
String^ portName
)
member TryGetSerialDevice :
device : SerialDevice byref *
portName : string -> bool
Parameters
- device
- Type: HidSharpSerialDevice
- portName
- Type: SystemString
Return Value
Type:
Boolean
Reference