IInputStream IInputStream IInputStream IInputStream IInputStream Interface

Definition

Represents a sequential stream of bytes to be read.

public : interface IInputStream : IClosable
struct winrt::Windows::Storage::Streams::IInputStream : IClosable
public interface IInputStream : IDisposable
Public Interface IInputStream Implements IDisposable
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Inheritance
IDisposableIDisposableIDisposable
IInputStreamIInputStreamIInputStreamIInputStreamIInputStream
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

Close Close Close Close Close

Releases system resources that are exposed by a Windows Runtime object.

.NET This interface appears as System.IDisposable.

C++/CX This interface appears as Platform::IDisposable.

(Inherited from IClosable)
ReadAsync(IBuffer, UInt32, InputStreamOptions) ReadAsync(IBuffer, UInt32, InputStreamOptions) ReadAsync(IBuffer, UInt32, InputStreamOptions) ReadAsync(IBuffer, UInt32, InputStreamOptions) ReadAsync(IBuffer, UInt32, InputStreamOptions)

Reads data from the stream asynchronously.