Click or drag to resize
MimeKit

IMailFolderUidValidity Property

Get the Unique ID validity.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
uint UidValidity { get; }

Property Value

Type: UInt32
The UID validity.
Remarks

UIDs are only valid so long as the UID validity value remains unchanged. If and when the folder's UidValidity is changed, a client MUST discard its cache of UIDs along with any summary information that it may have and re-query the folder.

The UidValidity will only be set after the folder has been opened.

See Also