Creates a wrapper around the specified stream that prevents the Dispose method from being called.
'Declaration
Public Shared Function MakeUndisposable( _
ByVal As Stream _
) As Stream
Parameters
- stream
- The stream to wrap.
Return Value
A
System.IO.Stream that does not call Dispose.