LanIdentifier: what do I need to enable to get any info about it?


  • Hello guys.

    What do I need to do to get any value from the networkInformation.getLanIdentifiers method to return anything useful? I've tried running the network information app from a pc and a laptop and it never returns any LanIdentifier objects.

    Luis Abreu

    Wednesday, April 04, 2012 9:19 AM

All replies

  • Hi,

    You should make sure location service enabled.

    Please refer to Network information sample for more details.

    Best wishes,

    Robin [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, April 05, 2012 8:57 AM
  • Hello Robin.

    Are you talking about the netwok location service? If that is it, then it's running in all my machines (I've checked it in the services applet before asking the question. Btw, I've run the sample you  mention and it still returns 0 laidentifiers objects. 

    That's why I asked what needed to be done to get it return any info.


    Luis Abreu

    Thursday, April 05, 2012 10:32 AM