InventoryScanResult
Everything one scan found. Addresses that answered nothing are absent - a scan reports devices, not silence.
public sealed record InventoryScanResult : IEquatable<InventoryScanResult>
1. Constructors
1.1. InventoryScanResult(DateTime, MachineName, int, IReadOnlyCollection<DiscoveredDevice>)
Everything one scan found. Addresses that answered nothing are absent - a scan reports devices, not silence.
public InventoryScanResult(DateTime TimestampUtc, MachineName Scanner, int AddressesProbed, IReadOnlyCollection<DiscoveredDevice> Devices)
| Name | Type | Description |
|---|---|---|
TimestampUtc |
DateTime |
When the scan completed. |
Scanner |
MachineName |
Machine that ran the scan. |
AddressesProbed |
int |
How many addresses were walked, responding or not. |
Devices |
IReadOnlyCollection<DiscoveredDevice> |
Devices that answered at least one probe. |
2. Properties
2.1. AddressesProbed
How many addresses were walked, responding or not.
public int AddressesProbed { get; init; }
2.2. Devices
Devices that answered at least one probe.
public IReadOnlyCollection<DiscoveredDevice> Devices { get; init; }
2.3. Scanner
Machine that ran the scan.
public MachineName Scanner { get; init; }
2.4. TimestampUtc
When the scan completed.
public DateTime TimestampUtc { get; init; }
3. Operators
3.1. operator !=(InventoryScanResult, InventoryScanResult)
public static bool operator !=(InventoryScanResult left, InventoryScanResult right)
| Name | Type | Description |
|---|---|---|
left |
InventoryScanResult |
|
right |
InventoryScanResult |
Returns: bool
3.2. operator ==(InventoryScanResult, InventoryScanResult)
public static bool operator ==(InventoryScanResult left, InventoryScanResult right)
| Name | Type | Description |
|---|---|---|
left |
InventoryScanResult |
|
right |
InventoryScanResult |
Returns: bool