Mime UtilsTry Parse(String, Version) Method
Try to parse a version from a header such as Mime-Version.
Definition
Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the version was successfully parsed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool TryParse(
string? text,
out Version?? version
)Parameters
Return Value
Booleanif the version was successfully parsed; otherwise, .
Remarks
Parses a MIME version string from the specified text.