MimePartVerifyContentMd5 Method

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

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool VerifyContentMd5()

Return Value

Boolean
if content MD5 checksum was verified; otherwise, .

Implements

IMimePartVerifyContentMd5

Remarks

Computes the MD5 checksum of the MIME content and compares it with the value in the Content-MD5 header, returning if and only if the values match.

Exceptions

ObjectDisposedException The MimePart has been disposed.

See Also