TcpPortHostProbe
TCP connect probe over the request’s port list. The only probe that survives a host which blocks ICMP and sits behind a router, and the one that feeds classification - an open port says what a device is, reachability alone does not.
public sealed class TcpPortHostProbe : IHostProbe
1. Properties
1.1. Method
Technique this probe implements.
public 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).
public Task<HostProbeOutcome> ProbeAsync(IP address, InventoryScanRequest request, CancellationToken cancellationToken)
| Name | Type | Description |
|---|---|---|
address |
IP |
Address to probe. |
request |
InventoryScanRequest |
Scan settings (timeout, port list). |
cancellationToken |
CancellationToken |
Cancels the probe. |
Returns: Task<HostProbeOutcome>