The primary view of the networking capabilities of your device will be through two .NET Micro Framework namespaces:
System.Net. You must add an assembly reference to your Microsoft Visual Studio project to the assemblies of the same name (that is, Microsoft.SPOT.Net and System.Net) to make their members available to your code.
System.Net namespace is the
NetworkInformation subnamespace, which, as its name suggests, provides information about the networking capabilities of the current environment (that is, emulator or device).
Each available network device (or adapter) is represented and configured by a
Network-Interface object. Access to these objects is provided ...