API Reference
ReaderDetectionResult
Structured extension and content detection result.
Inheritance
- Object
- ReaderDetectionResult
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method DocumentReader.Detect
- Method DocumentReader.Detect
- Method DocumentReader.DetectAsync
- Method DocumentReader.DetectAsync
- Method OfficeDocumentReader.Detect
- Method OfficeDocumentReader.Detect
- Method OfficeDocumentReader.DetectAsync
- Method OfficeDocumentReader.DetectAsync
Constructors
public ReaderDetectionResult() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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 String MediaType { get; set; } #Detected media type when known.
public Boolean ContentInspected { get; set; } #True when content bytes were inspected.
public Boolean ContainerInspected { get; set; } #True when a ZIP container was structurally inspected.
public Int32 InspectedBytes { get; set; } #Number of prefix bytes inspected.
public IReadOnlyList<String> Evidence { get; set; } #Stable evidence tokens explaining the result.
public Boolean IsMismatch { get; } #True when medium- or high-confidence content evidence disagrees with a known extension kind.