Serial transport
| C# | Visual Basic | Visual C++ |
public abstract class SerialTransport
Public MustInherit Class SerialTransport
public ref class SerialTransport abstract
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| SerialTransport()()() | Initializes a new instance of the SerialTransport class | |
| BaudRate |
Get/Set the current baud rate of the communication channel.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Flush()()() |
Take any actions necessary (possibly none) to remove unsent data from the output path.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsOpen |
Get current status of the communication channel. True, if Open
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Open()()() |
Causes the communication interface to be opened but does not transmit any serial-layer data.
This should perform actions such as opening a serial port device or establishing a network
connection within a wrapper protocol.
| |
| PortName |
Gets or sets the port for communications, including but not limited to all available COM ports.
| |
| ReadTimeout |
Gets or sets the number of milliseconds before a time-out occurs when a read operation
does not finish
| |
| ReceiveBytes(Int32, array<Byte>[]()[], Int32) |
Receive a number of bytes on the serial transport.
| |
| SendBytes(Int32, array<Byte>[]()[], Int32) |
Send bytes down the serial transport layer. No interpretation or modification occurs.
| |
| Shutdown()()() |
Close the communication channel.
| |
| ToString()()() | (Inherited from Object.) | |
| WriteTimeout |
Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.
|
| Object | ||
| SerialTransport | ||
| SerialTransportNative | ||
| SerialTransportTCP | ||