Table of Contents

Method ConvertStreamToBase64

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ConvertStreamToBase64(MemoryStream)

Converts a MemoryStream to a Base64 encoded string.

public static string ConvertStreamToBase64(MemoryStream stream)

Parameters

stream MemoryStream

The MemoryStream to convert.

Returns

string

A Base64 encoded string representing the content of the stream.