public static async Task<Stream> ToMemoryStreamAsync(Stream stream, bool disposeStream = False)
Returns:
Task<Stream>

Parameters

stream Stream
disposeStream bool
In this article