StreamSocket.InputStream Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.