Creates a string from a text based stream
public static string StreamToString(Stream stream, Encoding encoding)
Parameters
stream
input stream (not closed by operation)
encoding
Optional encoding - if not specified assumes 'Encoding.Default'
Exceptions
**System.Runtime.InteropServices.InvalidOleVariantTypeException**See also:
Class StringUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic