Click or drag to resize

ImapPeekDataByUIDAsync(MimeStructure, CancellationToken) Method

Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<byte[]> PeekDataByUIDAsync(
	MimeStructure structure,
	CancellationToken cancel = default
)

Parameters

structure  MimeStructure
MIME entity to get data for.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskByte
Part's data -or- null if server responds with NIL response.
See Also