Method StringToStream NamespaceAlternet.UI AssemblyAlternet.UI.Common.dll StringToStream(Stream, string) Writes string to Stream using UTF8 encoding. public static void StringToStream(Stream stream, string s) Parameters stream Stream Stream with data. s string String with data.