| FolderStatusUIDValidity Property |
Gets the unique identifier validity value.
Any change of unique identifiers (UIDs) between sessions MUST be detectable using the change of UIDVALIDITY.
If unique identifiers from an earlier session fail to persist in this session,
the UIDVALIDITY value MUST be greater than the one used in the earlier session.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public long UIDValidity { get; }
Public ReadOnly Property UIDValidity As Long
Get
public:
property long long UIDValidity {
long long get ();
}
member UIDValidity : int64 with get
Property Value
Type:
Int64Remarks
Nowadays, IMAP4 servers which fail to persist UIDs between session are very uncommon, and the UIDVALIDITY value is usually the same across sessions.
The client should still check the UIDVALIDITY value: if, between two sessions, folder is deleted and then the folder with the same name is recreated,
and this new folder is filled with some mails, their UIDs may coincide with UIDs of the messages in the original folder (which was deleted).
In such case, client should check if UIDVALIDITY has changed.
See Also