Click or drag to resize
MimeKit

UniqueIdTryParse(String, UInt32, UniqueId) Method

Attempt to parse a unique identifier.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public static bool TryParse(
	string token,
	uint validity,
	out UniqueId uid
)

Parameters

token  String
The token to parse.
validity  UInt32
The UIDVALIDITY value.
uid  UniqueId
The unique identifier.

Return Value

Boolean
true if the unique identifier was successfully parsed; otherwise, false..
Exceptions
ExceptionCondition
ArgumentNullExceptiontoken is null.
Remarks
Attempts to parse a unique identifier.
See Also