Click or drag to resize

ImapPeekTextByNumberAsync(MimeTextStructure, Int64, CancellationToken) Method

Peeks text data of the specified part using MessageNumber. Fills Text.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<string> PeekTextByNumberAsync(
	MimeTextStructure structure,
	long count,
	CancellationToken cancel = default
)

Parameters

structure  MimeTextStructure
MIME entity to get data for.
count  Int64
Number of bytes (decoded) to get.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

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