Allows to react on virtual serial port opening. So, application can allow or prohibit access to the serial port.
|Visual Basic .NET||
QueryOpen As Boolean
If FALSE, the port can be opened by any application.
If TRUE, it is not possible to open port if your application is not attached to the port (refer to Attach). ERROR_ACCESS_DENIED error code is returned in such case. If attached, OnQueryOpen event fires and the event handler decides, if it is allowed to open virtual serial port to the application or not.
FALSE by default.