Domain Detective

API Reference

Class

PortAvailabilityAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

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

Constructors

Methods

public async Task AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Checks a single host and port.

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

Checks multiple hosts and ports.

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

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.

{{ include "footer" }}