InternetAddressParse(ParserOptions, Byte) Method

Parse the given input buffer into a new InternetAddress instance.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static InternetAddress Parse(
	ParserOptions options,
	byte[] buffer
)

Parameters

options  ParserOptions
The parser options to use.
buffer  Byte
The input buffer.

Return Value

InternetAddress
The parsed InternetAddress.

Remarks

Parses a single MailboxAddress or GroupAddress. If the buffer contains more data, then parsing will fail.

Exceptions

ArgumentNullException

options is .

-or-

buffer is .

ParseException buffer could not be parsed.

See Also