API Reference
Class
STARTTLSAnalysis
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
- Property DomainHealthCheck.StartTlsAnalysis
- Property StartTlsInfo.Raw
Accepted by parameters
- Method StartTlsNarrative.Build
- Method Converters.Convert
Constructors
public STARTTLSAnalysis() #Methods
public async Task AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskTests a single server for STARTTLS support.
Parameters
- host System.String
- port System.Int32
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
public async Task AnalyzeServers(IEnumerable<String> hosts, IEnumerable<Int32> ports, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskTests multiple servers for STARTTLS support.
Parameters
- hosts System.Collections.Generic.IEnumerable{System.String}
- ports System.Collections.Generic.IEnumerable{System.Int32}
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
CheckStartTls(System.String arg1, System.Int32 arg2, DomainDetective.InternalLogger arg3, System.Threading.CancellationToken arg4) #Performs the low-level STARTTLS negotiation.
Parameters
- arg1 System.String
- arg2 System.Int32
- arg3 DomainDetective.InternalLogger
- arg4 System.Threading.CancellationToken
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
- arg2 System.Int32
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.