UniqueIdTryParse(String, UInt32, UniqueId) Method

Attempt to parse a unique identifier.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
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
if the unique identifier was successfully parsed; otherwise, false..

Remarks

Attempts to parse a unique identifier.

Exceptions

See Also