API Reference
Class
PortAvailabilityAnalysis
Attempts TCP connections to common service ports and records latency.
Inheritance
- Object
- PortAvailabilityAnalysis
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
- Method PortAvailabilityNarrative.Build
- Method Converters.Convert
Constructors
public PortAvailabilityAnalysis() #Methods
public async Task AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskChecks a single host and port.
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:
TaskChecks multiple hosts and ports.
Parameters
- hosts System.Collections.Generic.IEnumerable{System.String}
- ports System.Collections.Generic.IEnumerable{System.Int32}
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public virtual List<Assessment> Assessments { get; } #Structured assessments captured during checks.
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Recommendations derived from Assessments.
public Dictionary<String, PortResult> ServerResults { get; } #Results for each host and port.
public TimeSpan Timeout { get; set; } #Maximum time to wait for a connection.