ReaderDetectionResult
OfficeIMO.Reader
Structured extension and content detection result.
Inheritance
- object
- ReaderDetectionResult
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Constructors
public ReaderDetectionResult() #Inherited Methods
Properties
public string SourceName { get; set; } #Source name or path used for extension evidence.
public string Extension { get; set; } #Normalized source extension, or an empty string.
public ReaderInputKind ExtensionKind { get; set; } #Kind inferred from the extension and active handler registry.
public ReaderInputKind ContentKind { get; set; } #Kind inferred from content.
public ReaderDetectionConfidence ExtensionConfidence { get; set; } #Confidence in extension evidence.
public ReaderDetectionConfidence ContentConfidence { get; set; } #Confidence in content evidence.
public ReaderInputKind Kind { get; set; } #Effective kind selected by the requested detection mode.
public ReaderDetectionConfidence Confidence { get; set; } #Confidence in the effective kind.
public bool ContentInspected { get; set; } #True when content bytes were inspected.
public bool ContainerInspected { get; set; } #True when a ZIP container was structurally inspected.
public int InspectedBytes { get; set; } #Number of prefix bytes inspected.
public bool IsEncrypted { get; set; } #True when bounded content inspection found encryption that requires a password or key before the content can be read: an encrypted Office package, an OpenDocument package whose manifest declares encrypted entries, a PDF with an encryption dictionary, a ZIP archive with encrypted entries, or a legacy Word, Excel or PowerPoint file that marks itself encrypted. The file is not opened or decrypted. False means detection saw no encryption, not that the input is known to be unencrypted.
public IReadOnlyList<string> Evidence { get; set; } #Stable evidence tokens explaining the result.
public bool IsMismatch { get; } #True when medium- or high-confidence content evidence disagrees with a known extension kind.