Jaa


StreamSocket.InputStream Property

Definition

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

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

Property Value

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

Windows requirements

App capabilities
ID_CAP_NETWORKING [Windows Phone]

Examples

See StreamSocket class.

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.

Applies to

See also