| ISerialPort Interface |
Namespace: ESkin
public interface ISerialPort
The ISerialPort type exposes the following members.
| Name | Description | |
|---|---|---|
| Encoding |
Gets or sets the byte encoding for pre- and post-transmission conversion of text.
| |
| IsOpen |
Gets a value indicating the open or closed status of the SerialPort object.
| |
| PortName |
Gets or sets the port for communications, including but not limited to all avaiable COM ports or device names.
| |
| ReadTimeout |
Gets or sets the number of milliseconds before a time-out occurs when a read operation does not finish.
| |
| WriteTimeout |
Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.
|
| Name | Description | |
|---|---|---|
| Dispose |
Releases all resources used by the Component and initializes.
| |
| GetPortNames |
Gets an array of serial port names or device names for the current computer.
| |
| Open |
Opens a new serial port connection.
| |
| Read |
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.
| |
| ReadTo |
Reads a string up to the specified value in the input buffer.
| |
| Write |
Writes the specified string to the serial port.
|