NetworkInterfaceSettings Class
Namespace: GHIElectronics.TinyCLR.Devices.Network · Assembly: GHIElectronics.TinyCLR.Devices.Network
Common interface settings — IP/DHCP/DNS/MAC. Subclass per transport for additional fields.
public class NetworkInterfaceSettings
Properties
Address
public IPAddress Address { get; set; }
Static IP address (used when DhcpEnable is false).
SubnetMask
public IPAddress SubnetMask { get; set; }
Subnet mask for the static address.
GatewayAddress
public IPAddress GatewayAddress { get; set; }
Default gateway for the static address.
DnsAddresses
public IPAddress[] DnsAddresses { get; set; }
DNS servers in order of preference.
MacAddress
public byte[] MacAddress { get; set; }
MAC address for the interface (6 bytes).
DhcpEnable
public bool DhcpEnable { get; set; }
When true, IP/gateway/DNS are obtained via DHCP and the static fields above are ignored.
DynamicDnsEnable
public bool DynamicDnsEnable { get; set; }
When true, the controller registers a Dynamic-DNS hostname.
TlsEntropy
public byte[] TlsEntropy { get; set; }
Seed entropy for the TLS RNG. Optional; if null, the stack supplies a default.
MulticastDnsEnable
public bool MulticastDnsEnable { get; set; }
When true, the controller responds to mDNS / Bonjour queries.