Information. Get Lan Identifiers Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Some information relates to pre-released product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This API will be affected by upcoming changes to operating system behavior, planned for fall 2024. For more info, see Changes to API behavior for Wi-Fi access and location.
public: static IVectorView<LanIdentifier ^> ^ GetLanIdentifiers();
static IVectorView<LanIdentifier> GetLanIdentifiers();
public static IReadOnlyList<LanIdentifier> GetLanIdentifiers();
Public Shared Function GetLanIdentifiers () As IReadOnlyList(Of 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.