Table of Contents

Class StreamDecoratorAsync

Namespace
VpnHood.Net.Toolkit.Streams
Assembly
VpnHood.Net.Toolkit.dll

Provides an AsyncStreamDecorator<T> over any stream.

public class StreamDecoratorAsync : AsyncStreamDecorator<Stream>, IAsyncDisposable, IDisposable, IDataStream
Inheritance
StreamDecoratorAsync
Implements
Derived
Inherited Members
Extension Methods

Constructors

StreamDecoratorAsync(Stream, bool)

Provides an AsyncStreamDecorator<T> over any stream.

public StreamDecoratorAsync(Stream sourceStream, bool leaveOpen)

Parameters

sourceStream Stream

The source stream.

leaveOpen bool

true to leave the source open when this stream is disposed.