IHostProbe

One technique for proving a host present. Register several: the scanner runs every registered probe per address and merges what each learns.

public interface IHostProbe

1. Properties

1.1. Method

Technique this probe implements.

ProbeMethod Method { get; }

2. Methods

2.1. ProbeAsync(IP, InventoryScanRequest, CancellationToken)

Probe address. A probe never throws for an unreachable host - it returns osisa.Inventory.Entities.HostProbeOutcome.NoResponse(IP,osisa.Inventory.Entities.ProbeMethod).

Task<HostProbeOutcome> ProbeAsync(IP address, InventoryScanRequest request, CancellationToken cancellationToken)
Table 1. Parameters
Name Type Description

address

IP

Address to probe.

request

InventoryScanRequest

Scan settings (timeout, port list).

cancellationToken

CancellationToken

Cancels the probe.

Returns: Task<HostProbeOutcome>