INetworkScanner

Sweeps a set of targets and reports every device that answered.

public interface INetworkScanner

1. Methods

1.1. ScanAsync(InventoryScanRequest, CancellationToken)

Expand the request’s targets, probe each address with every registered IHostProbe, and merge the outcomes into devices.

Task<InventoryScanResult> ScanAsync(InventoryScanRequest request, CancellationToken cancellationToken)
Table 1. Parameters
Name Type Description

request

InventoryScanRequest

What to scan and how hard.

cancellationToken

CancellationToken

Cancels the scan.

Returns: Task<InventoryScanResult>