MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MimePart Class
MimePart Methods
Accept Method
ComputeContentMd5 Method
Dispose Method
GetBestEncoding Method
OnHeadersChanged Method
Prepare Method
VerifyContentMd5 Method
WriteTo Method
WriteToAsync Method
Mime
Part
Verify
Content
Md
5 Method
Verify the Content-Md5 value against an independently computed md5sum.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
bool
VerifyContentMd5
()
Return Value
Boolean
true
, if content MD5 checksum was verified,
false
otherwise.
Implements
IMimePart
VerifyContentMd5
Exceptions
Exception
Condition
ObjectDisposedException
The
MimePart
has been disposed.
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
Reference
MimePart Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast