ArpHostProbe

Layer 2 ARP probe via the Win32 SendARP helper. The only probe that yields a MAC address (and therefore a vendor), and it ignores ICMP-blocking host firewalls. Limited to Windows and to addresses on a directly attached segment; off-segment addresses and non-Windows hosts report no response so the other probes decide.

public sealed class ArpHostProbe : 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)
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>