Click or drag to resize
ISerialPort Interface
Interface of a serial port resource.

Namespace: ESkin
Assembly: ESkinLib (in ESkinLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface ISerialPort

The ISerialPort type exposes the following members.

Properties
  NameDescription
Public propertyEncoding
Gets or sets the byte encoding for pre- and post-transmission conversion of text.
Public propertyIsOpen
Gets a value indicating the open or closed status of the SerialPort object.
Public propertyPortName
Gets or sets the port for communications, including but not limited to all avaiable COM ports or device names.
Public propertyReadTimeout
Gets or sets the number of milliseconds before a time-out occurs when a read operation does not finish.
Public propertyWriteTimeout
Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the Component and initializes.
Public methodGetPortNames
Gets an array of serial port names or device names for the current computer.
Public methodOpen
Opens a new serial port connection.
Public methodRead
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.
Public methodReadTo
Reads a string up to the specified value in the input buffer.
Public methodWrite
Writes the specified string to the serial port.
Top
See Also