Authentication ResultsTry Parse(Byte, Int 32, Int 32, Authentication Results) Method
Try to parse the given input buffer into a new AuthenticationResults instance.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the authentication results were successfully parsed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool TryParse(
byte[] buffer,
int startIndex,
int length,
out AuthenticationResults?? authres
)Parameters
- 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.
- authres AuthenticationResults
- The parsed authentication results.
Return Value
Booleanif the authentication results were successfully parsed; otherwise, .
Remarks
Parses an Authentication-Results header value from the supplied buffer starting at the given index
and spanning across the specified number of bytes.