Click or drag to resize
MimeKit

UniqueIdParse(String, UInt32) Method

Parse a unique identifier.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static UniqueId Parse(
	string token,
	uint validity
)

Parameters

token  String
A string containing the unique identifier.
validity  UInt32
The UIDVALIDITY.

Return Value

UniqueId
The unique identifier.
Exceptions
ExceptionCondition
ArgumentNullExceptiontoken is null.
FormatExceptiontoken is not in the correct format.
OverflowException The unique identifier is greater than MaxValue.
Remarks
Parses a unique identifier.
See Also