ImapUnseen Property
Gets the ordinal message number of the first message which does not have "\Seen" flag set.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public int Unseen { get; }

Property Value

Type: Int32
The integer value containing one-based message number of the first unseen message in the currently selected folder, or 0 if there are no unseen messages in the folder or no folder is selected.
Remarks

Messages can be flagged with "\Seen" tag when they are downloaded completely, see SetSeenForEntireMessages property on how to enable this.

Note Note
If the folder was selected in read-only mode (e.g. using ExamineFolder(String) method), the message flags will NOT be affected under any circumstances.
See Also