Click or drag to resize
MimeKit

MimePartVerifyContentMd5 Method

Verifies the Content-Md5 value against an independently computed md5sum.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public bool VerifyContentMd5()

Return Value

Type: Boolean
true, if content MD5 checksum was verified, false otherwise.
Remarks
Computes the MD5 checksum of the MIME content and compares it with the value in the Content-MD5 header, returning true if and only if the values match.
See Also