SerialPort.Status (gb.net)

Property Read Status As Integer

Reflects the current status of a SerialPort object. It can be:

Constant Meaning
Net.Active The port is currently opened.
Net.Inactive The port is currently closed.