Closes previously opened communication port.
| Visual Basic .NET | Sub Close()
|
|---|---|
| Visual C# | void Close();
|
None.
1) If port is not open Close method does not throw any exception.
2) Port will be closed automatically on object destruction.