Click or drag to resize
MimeKit

Header(ParserOptions, Byte, Int32, Byte, Boolean) Constructor

Initialize a new instance of the Header class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected Header(
	ParserOptions options,
	byte[] field,
	int fieldNameLength,
	byte[] value,
	bool invalid
)

Parameters

options  ParserOptions
The parser options used.
field  Byte
The raw header field.
fieldNameLength  Int32
The length of the field name (not including trailing whitespace).
value  Byte
The raw value of the header.
invalid  Boolean
true if the header field is invalid; otherwise, false.
Remarks

Creates a new message or entity header with the specified raw values.

This constructor is used by the TryParse methods.

See Also