StreamContainer

StreamContainer constructor (1 of 2)

Initializes a new instance of the StreamContainer class.

public StreamContainer(Stream stream)
ParameterTypeDescription
streamStreamThe stream.

See Also


StreamContainer constructor (2 of 2)

Initializes a new instance of the StreamContainer class.

public StreamContainer(Stream stream, bool disposeStream)
ParameterTypeDescription
streamStreamThe data stream.
disposeStreamBooleanif set to true the stream will be disposed when container is disposed.

See Also