Virtual Serial Ports - Software Virtual COM Port Null Modem Cable Emulator for Windows
Docs

VirtualSerialDeviceMode Enumeration

The IVirtualSerialDevice.mode property returns one of the values of this enumeration.

SymbolValueDescription
Broken0Device is not connected to any transport. It has either been created or disconnected.
Listening1Device is in listening state and accepts connections to create remote bridges.
Pipe2Device is currently connected to Named Pipe Transport.
Bridge3Device is currently connected to Bridge Transport and is a part of a local or remote bridge.
Handles4Device is currently connected to Input/Output Files Transport.