YEncOptionsNewLineFormat Property

Get or set the writer's newline format.

Definition

Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public NewLineFormat NewLineFormat { get; set; }

Property Value

NewLineFormat
The newline format.

Remarks

Defaults to CRLF. Readers accept both CRLF and LF independently of this setting.

Exceptions

ArgumentOutOfRangeException The value is neither DOS nor Unix.

See Also