Domain Detective

API Reference

Class

ContactInfoAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Parses and validates contact TXT records.

Inheritance

  • Object
  • ContactInfoAnalysis

Remarks

The TXT record format follows draft security.txt guidelines and may include multiple fields such as contact email addresses or policy links.

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

Accepted by parameters

Constructors

Methods

public async Task AnalyzeContactRecords(IEnumerable<DnsAnswer> dnsResults, InternalLogger logger) #
Returns: Task

Processes TXT records to extract contact information.

Parameters

dnsResults System.Collections.Generic.IEnumerable{DnsClientX.DnsAnswer} requiredposition: 0
logger DomainDetective.InternalLogger requiredposition: 1

Properties

public String Subject { get; set; } #

Domain under analysis.

public String ContactRecord { get; set; } #

Raw contact TXT record.

public Boolean RecordExists { get; set; } #

True when a contact record was located.

public Dictionary<String, String> Fields { get; } #

Parsed key-value fields from the record.

public virtual List<Assessment> Assessments { get; } #

Collected assessments for this analysis.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}