Table of Contents

Method IsActiveForAnyAccountAsync

Namespace
MailFathom.Application.SensitiveContent
Assembly
MailFathom.Application.dll

IsActiveForAnyAccountAsync(CancellationToken)

Gets whether any account this deployment serves has anything scanned for at all.

Task<bool> IsActiveForAnyAccountAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the read.

Returns

Task<bool>

true when the deployment, or any account it serves, switched a scanner on.

Remarks

Read by a consumer deciding whether work only a scan makes necessary is worth arranging at all — opening a guarded operation, parsing a message back into values — never as permission to hand text on unguarded. A deployment where this is false constructs no detector and takes no permit on any path.