Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeContentInstructionDetector

OfficeIMO.ContentSafety

Namespace
OfficeIMO.ContentSafety
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Performs bounded, explainable heuristic detection without modifying source text.

Inheritance

  • object
  • OfficeContentInstructionDetector

Methods

public static OfficeContentInstructionAnalysis Analyze(string text, int maxCharacters = 1000000, int maxDecodedCharacters = 32768, int maxEncodedCandidates = 32) #

Inspects ordinary text and one layer of printable UTF-8 Base64, including line-wrapped tokens. Decoding is inspection-only; nested encodings and arbitrary obfuscation are not evaluated.

Parameters

text string required
maxCharacters int = 1000000 optional
maxDecodedCharacters int = 32768 optional
maxEncodedCandidates int = 32 optional
public static IReadOnlyList<string> Detect(string text) #

Returns deterministic signal identifiers without claiming that the text is malicious.

Parameters

text string required

Returns

IReadOnlyList<string>