The port has been opened by third-party serial application before your program calls Attach method.
| Visual Basic .NET | Sub OnOpenBeforeAttach(ByVal pid As UInt32, ByVal Path As String)
|
|---|---|
| Visual C# | void OnOpenBeforeAttach(UInt32 pid, String Path);
|
pid
PID of the application opened the port.
Path
Full path to the application opened the port.