<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.3" />

Microsoft.Azure.Storage.Core.NonCloseableStream

public NonCloseableStream(Stream wrappedStream)

Initializes a new instance of the NonCloseableStream class This stream ensures that the user stream is not closed even when the enclosing crypto stream is closed in order to flush the final block of data.