Receive Method
Receive at least one text character from the ASCOM serial port

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


string Receive()
Visual Basic
Function Receive As String
Visual C++
String^ Receive()

Return Value

The characters received


This method reads all of the characters currently in the serial receive buffer. It will not return unless it reads at least one character. A timeout will cause a TimeoutException to be raised. Use this for text data, as it returns a String.

See Also