EncodingExtensions public static class EncodingExtensions Represents extension method for Encoding data type. Documentation Code public static Encoding WithoutPreamble(this Encoding encoding) Returns Encoding that doesn't generate BOM.