OnOpen Event

The port has been opened by third-party serial application.

Syntax

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

Parameters

pid

PID of the application opened the port.

Path

Full path to the application opened the port.