NetworkInformation.GetLanIdentifiers Method

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

Syntax

public:
static IVectorView<LanIdentifier>^ GetLanIdentifiers()  

Return value

Type: IVectorView<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.

Requirements

Namespace: Windows.Networking.Connectivity

Metadata: windows.winmd

See also

Reference

NetworkInformation Class

NetworkInformation Members

Windows.Networking.Connectivity Namespace