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
Compute
Content
Md
5 Method
Compute the MD5 checksum of the content.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
string
ComputeContentMd5
()
Return Value
String
The md5sum of the content.
Implements
IMimePart
ComputeContentMd5
Exceptions
Exception
Condition
ObjectDisposedException
The
MimePart
has been disposed.
InvalidOperationException
The
Content
is
null
.
Remarks
Computes the MD5 checksum of the MIME content in its canonical format and then base64-encodes the result.
See Also
Reference
MimePart Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast