StreamSource.StreamSource

StreamSource(Stream)

Initializes a new instance of the StreamSource class.

public StreamSource(Stream stream)
ParameterTypeDescription
streamStreamThe stream to open.

See Also


StreamSource(Stream, bool)

Initializes a new instance of the StreamSource class.

public StreamSource(Stream stream, bool disposeStream)
ParameterTypeDescription
streamStreamThe stream to open.
disposeStreamBooleanif set to true the stream will be disposed.

See Also