NetworkInterface Class

Provides information about interfaces and enables applications to control them.

Namespace: Microsoft.SPOT.Net.NetworkInformation
Assembly: Microsoft.SPOT.Net (in microsoft.spot.net.dll)

Syntax

public class NetworkInterface

Remarks

With this class, your applications can retrieve information about a device's network interface. They can also configure the interface as appropriate. For example, they can enable your device to obtain a DNS server address automatically, renew DHCP leases, or set the device to use a specific static IP address.

Note

The .NET Micro Framework does not support IPv6. If you are using IPv6 and your program attempts to get a network address or network address properties, it will throw an exception.

See Also

Reference

NetworkInterface Members
Microsoft.SPOT.Net.NetworkInformation Namespace