StreamSocket.InputStream StreamSocket.InputStream StreamSocket.InputStream StreamSocket.InputStream StreamSocket.InputStream Property

Definition

Gets the input stream to read from the remote destination on a StreamSocket object.

public : IInputStream InputStream { get; }
IInputStream InputStream();
public IInputStream InputStream { get; }
Public ReadOnly Property InputStream As IInputStream
var iInputStream = streamSocket.inputStream;

Property Value

A sequential stream of bytes to be read from the remote destination.

Additional features and requirements

Capabilities
ID_CAP_NETWORKING [Windows Phone]

Remarks

This property can be used to read incoming data received from the remote network destination on a socket object. Incoming data can be read using the IInputStream.ReadAsync method directly or by passing the IInputStream object to other objects (DataReader, for example) that accept an IInputStream as a parameter.

See also