Disposes or releases the wrapped stream, based on the value of the Ownership parameter passed to the constructor.
protected override void Dispose(bool disposing)
| parameter | description |
|---|---|
| disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |