StreamContainer

StreamContainer constructor (1 of 2)

Initializes a new instance of the StreamContainer class.

public StreamContainer(Stream stream)
Parameter Type Description
stream Stream The stream.

See Also


StreamContainer constructor (2 of 2)

Initializes a new instance of the StreamContainer class.

public StreamContainer(Stream stream, bool disposeStream)
Parameter Type Description
stream Stream The data stream.
disposeStream Boolean if set to true the stream will be disposed when container is disposed.

See Also