NetworkInformation.GetLanIdentifiers NetworkInformation.GetLanIdentifiers NetworkInformation.GetLanIdentifiers NetworkInformation.GetLanIdentifiers NetworkInformation.GetLanIdentifiers Method

Definition

Gets an array of LanIdentifier objects that contain locality information for each NetworkAdapter object that currently connected to a network.

public : static IVectorView<LanIdentifier> GetLanIdentifiers()
static IVectorView<LanIdentifier> GetLanIdentifiers() const;
public static IReadOnlyList<LanIdentifier> GetLanIdentifiers()
Public Shared Function GetLanIdentifiers() As IReadOnlyList<LanIdentifier>(Of LanIdentifier)
var iVectorView = Windows.Networking.Connectivity.NetworkInformation.getLanIdentifiers();

Returns

IReadOnlyList<LanIdentifier> IReadOnlyList<LanIdentifier> IReadOnlyList<LanIdentifier>

An array of LanIdentifier objects.

Remarks

For examples of how to retrieve LanIdentifier objects and access the information they represent, see How to retrieve network adapter and locality information.