Internet AddressParse(Byte, Int 32) 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
The parsed InternetAddress.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static InternetAddress Parse(
byte[] buffer,
int startIndex
)Parameters
Return Value
InternetAddressThe parsed InternetAddress.
Remarks
Parses a single MailboxAddress or GroupAddress. If the buffer contains
more data, then parsing will fail.
Exceptions
| ArgumentNullException | buffer is . |
| ArgumentOutOfRangeException | startIndex is out of range. |
| ParseException | buffer could not be parsed. |