locked
what is InfrastructureId.Value of LanIdentifier class? RRS feed

  • Question

  • i displayed the value on my surface3, the value was 24 100 114 137 207 129.

    i thought the value is my wifi mac address. i typed ipconfig on command to checked it is mac address.

    but it was different. what is InfrastructureId.Value of LanIdentifier class?

    Monday, October 13, 2014 2:14 AM

Answers

  • It's right here in the documentation:
    http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.connectivity.lanidentifier.aspx

    InfrastructureId
    Gets a LanIdentifierData object containing locality identification information for the network adapter's connection

    Remarks
    Location data is expressed either as a BSSID if the network adapter media type is Wireless LAN, or as a tuple <ChassisId, Port Number> if the network adapter type is Ethernet. The data is represented according to the LLDP protocol.


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    • Proposed as answer by Jamles Hez Wednesday, October 22, 2014 8:43 AM
    • Marked as answer by Yang,Chenfei Monday, October 27, 2014 5:53 AM
    Monday, October 13, 2014 7:39 PM