Table of Contents

Method GetTextAsync

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

GetTextAsync(CancellationToken)

Asynchronously extracts and returns the textual content from the attachment.

public Task<string> GetTextAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests. Default: None.

Returns

Task<string>

A task whose result is the textual content; empty string if no text is available.