Class NetworkResolveResult
A value representing the results of a network scan.
Implements
Inherited Members
Namespace: SociallyDistant.Core.OS.Network
Assembly: SociallyDistant.Framework.dll
Syntax
public record NetworkResolveResult : IEquatable<NetworkResolveResult>
Constructors
NetworkResolveResult(string, uint, PortResolution[])
A value representing the results of a network scan.
Declaration
public NetworkResolveResult(string Name, uint Address, PortResolution[] Ports)
Parameters
Type | Name | Description |
---|---|---|
string | Name | The name of the network that was scanned. |
uint | Address | The address of the network that was scanned. |
PortResolution[] | Ports | A list of any ports that are open on the host that was scanned. |
Properties
Address
The address of the network that was scanned.
Declaration
public uint Address { get; init; }
Property Value
Type | Description |
---|---|
uint |
Name
The name of the network that was scanned.
Declaration
public string Name { get; init; }
Property Value
Type | Description |
---|---|
string |
Ports
A list of any ports that are open on the host that was scanned.
Declaration
public PortResolution[] Ports { get; init; }
Property Value
Type | Description |
---|---|
PortResolution[] |