OnOpenBeforeAttach Event

The port has been opened by third-party serial application before your program calls Attach method.

Syntax

Visual Basic .NET
Sub OnOpenBeforeAttach(ByVal pid As UInt32, ByVal Path As String)
Visual C#
void OnOpenBeforeAttach(UInt32 pid, String Path);

Parameters

pid

PID of the application opened the port.

Path

Full path to the application opened the port.