Method ConvertStreamToBase64
ConvertStreamToBase64(MemoryStream)
Converts a MemoryStream to a Base64 encoded string.
public static string ConvertStreamToBase64(MemoryStream stream)
Parameters
stream
MemoryStreamThe MemoryStream to convert.
Returns
- string
A Base64 encoded string representing the content of the stream.