GetAllNetworkInterfaces Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves an array of all of the device's network interfaces.
Namespace: Microsoft.SPOT.Net.NetworkInformation
Assembly: Microsoft.SPOT.Net (in Microsoft.SPOT.Net.dll)
Syntax
'Declaration
Public Shared Function GetAllNetworkInterfaces As NetworkInterface()
public static NetworkInterface[] GetAllNetworkInterfaces()
public:
static array<NetworkInterface^>^ GetAllNetworkInterfaces()
static member GetAllNetworkInterfaces : unit -> NetworkInterface[]
public static function GetAllNetworkInterfaces() : NetworkInterface[]
Return Value
Type: array<Microsoft.SPOT.Net.NetworkInformation. . :: . .NetworkInterface> [] () [] []
An array containing all of the device's network interfaces.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.