Class IPConfiguration
- Namespace
- nanoFramework.Networking
- Assembly
- System.Net.dll
IP configuration to be used for static IP address configuration.
public class IPConfiguration
- Inheritance
-
IPConfiguration
- Inherited Members
- Extension Methods
Constructors
IPConfiguration(string, string, string, string[])
Constructor for IP Configuration.
public IPConfiguration(string ipv4Address, string ipv4SubnetMask, string ipv4GatewayAddress, string[] ipv4DnsAddresses = null)
Parameters
ipv4Address
stringThe IP v4 address to use on the network interface.
ipv4SubnetMask
stringThe IPv4 subnet mask.
ipv4GatewayAddress
stringThe gateway IPv4 address.
ipv4DnsAddresses
string[]List with the IPv4 DNS server address. Set to null for automatic DNS.
Properties
IPAddress
IP v4 address to use on the network interface.
public string IPAddress { get; set; }
Property Value
IPDns
IPv4 DNS server address. Set to null for automatic DNS.
public string[] IPDns { get; set; }
Property Value
- string[]
IPGatewayAddress
The gateway IPv4 address.
public string IPGatewayAddress { get; set; }
Property Value
IPSubnetMask
The IPv4 subnet mask.
public string IPSubnetMask { get; set; }