MessageParserConfigGetMessageIDHash Method
Returns SHA1 hash of the specified value, or SHA1 hash of the MessageID if no value specified.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public string GetMessageIDHash(
	string messageID


Type: SystemString
A string to generate SHA1 hash for, or a null reference (Nothing in Visual Basic) to generate the hash for MessageID value of the owner.

Return Value

Type: String
A string value containing the SHA1 hash in uppercase.
By default, when you save HTML message with linked resources (like embedded pictures), MailBee creates a folder where to put them. The name is generated as SHA1Hash(Message-ID). You can also use GetMessageIDHash(String) manually. For instance, if you need to get a unique name for a message folder but you don't need to save HTML with embedded pictures. An example is when you want to save the message attachments.
See Also