Gets an array of LanIdentifier objects that contain locality information for each NetworkAdapter object that is currently connected to a network.
public:
static IVectorView<LanIdentifier>^ GetLanIdentifiers()
Type: IVectorView<LanIdentifier>
An array of LanIdentifier objects.
For examples of how to retrieve LanIdentifier objects and access the information they represent, see How to retrieve network adapter and locality information.
Namespace: Windows.Networking.Connectivity
Metadata: windows.winmd