Click or drag to resize
MimeKit

ReceivedTryParse(ParserOptions, Byte, Int32, Int32, Received) Method

Try to parse the given input buffer into a new Received instance.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public static bool TryParse(
	ParserOptions? options,
	byte[]? buffer,
	int startIndex,
	int length,
	out Received?? received
)

Parameters

options  ParserOptions
The parser options.
buffer  Byte
The input buffer.
startIndex  Int32
The starting index of the input buffer.
length  Int32
The number of bytes in the input buffer to parse.
received  Received
The parsed Received header value.

Return Value

Boolean
if the Received header value was successfully parsed; otherwise, .
Remarks
Parses a Received header value from the supplied buffer starting at the given index and spanning across the specified number of bytes.
See Also