Domain Detective

API Reference

Class

STARTTLSAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Checks whether SMTP servers advertise the STARTTLS capability.

Inheritance

  • Object
  • STARTTLSAnalysis

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 AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Tests a single server for STARTTLS support.

Parameters

host System.String requiredposition: 0
port System.Int32 requiredposition: 1
logger DomainDetective.InternalLogger requiredposition: 2
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
public async Task AnalyzeServers(IEnumerable<String> hosts, IEnumerable<Int32> ports, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Tests multiple servers for STARTTLS support.

Parameters

hosts System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
ports System.Collections.Generic.IEnumerable{System.Int32} requiredposition: 1
logger DomainDetective.InternalLogger requiredposition: 2
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
CheckStartTls(System.String arg1, System.Int32 arg2, DomainDetective.InternalLogger arg3, System.Threading.CancellationToken arg4) #

Performs the low-level STARTTLS negotiation.

Parameters

arg1 System.String required
arg2 System.Int32 required
arg3 DomainDetective.InternalLogger required
arg4 System.Threading.CancellationToken required
GetEndPoint(System.String arg1, System.Int32 arg2) #

Resolves the specified host and returns a DnsEndPoint with address family information when an IP address is provided.

Parameters

arg1 System.String required
arg2 System.Int32 required

Properties

public String Subject { get; set; } #

Gets or sets the subject value.

public Dictionary<String, Boolean> ServerResults { get; set; } #

Gets or sets the server results value.

public Dictionary<String, Boolean> DowngradeDetected { get; set; } #

Gets or sets the downgrade detected value.

public Dictionary<String, STARTTLSResult> ServerDetails { get; set; } #

Gets or sets the server details value.

public TimeSpan Timeout { get; set; } #

Gets or sets the timeout value.

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

Structured assessments during STARTTLS probe.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}