BaseStream Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the underlying Stream object for a SerialPort object.

Namespace:  System.IO.Ports
Assembly:  Microsoft.SPOT.Hardware.SerialPort (in Microsoft.SPOT.Hardware.SerialPort.dll)

public Stream BaseStream { get; }

Property Value

Type: System.IO..::..Stream
A Stream object.

Use this property for explicit asynchronous I/O operations or to pass the SerialPort object to a Stream wrapper class such as StreamWriter.