Class NetworkConfiguration
Retured by GetNetworkConfiguration() with the current network settings including: Routable IP address, network CIDR, network gateway and the DNS server IP addresses.
Namespace: Neon.Net
Assembly: Neon.Common.dll
Syntax
public class NetworkConfiguration
Properties
Address
The routable IP address of the current machine.
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
string |
Gateway
The IP address of the local network gateway.
Declaration
public string Gateway { get; set; }
Property Value
Type | Description |
---|---|
string |
InterfaceName
Returns the network interface name.
Declaration
public string InterfaceName { get; set; }
Property Value
Type | Description |
---|---|
string |
NameServers
The IP address of the local network's DNS name servers.
Declaration
public string[] NameServers { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Subnet
The subnet (CIDR) for the local network.
Declaration
public string Subnet { get; set; }
Property Value
Type | Description |
---|---|
string |