NetworkInformation.GetLanIdentifiers Method
Definition
Important
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.
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();
public static IReadOnlyList<LanIdentifier> GetLanIdentifiers();
function getLanIdentifiers()
Public Shared Function GetLanIdentifiers () As IReadOnlyList(Of LanIdentifier)
Returns
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.
Applies to
Feedback
Submit and view feedback for