IMail FolderUid Validity Property
Get the Unique ID validity.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The UID validity.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
uint UidValidity { get; }Property Value
UInt32The 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.