Receive one binary byte from the ASCOM serial port

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
byte ReceiveByte()
Visual Basic
Function ReceiveByte As Byte
Visual C++
unsigned char ReceiveByte()

Return Value

The received byte

Remarks

Use this for 8-bit (binary data). If a timeout occurs, a TimeoutException is raised.

See Also