StreamExtensions public static class StreamExtensions Stream extensions. Documentation Code public static void Write(this Stream stream, string text) Writes the given text to the stream using UTF-8.