Converts a stream by copying it to a memory stream and returning as a string with encoding.
public static string AsString(Stream s, Encoding encoding)
Return Value
string
Parameters
s
stream to turn into a string
encoding
Encoding of the stream. Defaults to Unicode
See also:
Class StreamExtensions© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic