PortOpenAppPath Property

The PortOpenAppPath property returns the full path to the executable of the application that opened the port, or an empty string if the virtual port is closed.

BSTR PortOpenAppPath;