Closes the serial port.

Namespace: XpressnetLib
Assembly: XpressnetLib (in XpressnetLib.dll) Version: 0.1.4195.39796

Syntax

C#
public bool Disconnect()
Visual Basic
Public Function Disconnect As Boolean
Visual C++
public:
bool Disconnect()

Return Value

True if the serial port is closed, otherwise false.

See Also