 | MimeUtilsTryParse(Byte, Int32, Int32, Version) Method |
Try to parse a version from a header such as Mime-Version.
Namespace: MimeKit.UtilsAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic static bool TryParse(
byte[] buffer,
int startIndex,
int length,
out Version version
)
Parameters
- buffer Byte
- The raw byte buffer to parse.
- startIndex Int32
- The index into the buffer to start parsing.
- length Int32
- The length of the buffer to parse.
- version Version
- The parsed version.
Return Value
Boolean if the version was successfully parsed; otherwise,
.
Exceptions
Remarks
Parses a MIME version string from the supplied buffer starting at the given index
and spanning across the specified number of bytes.
See Also