getLanIdentifiers method returns access denied RRS feed

  • Question

  • Hello guys.

    I've got these lines:

    var networkInfo = Windows.Networking.Connectivity.NetworkInformation;
    var lanIdentifiers = networkInfo.getLanIdentifiers();

    and I'm getting an access denied exception. do I need to enable any capability to get this info?

    Luis Abreu

    Tuesday, April 3, 2012 9:19 PM


  • It seems like it needs the location capability. Probably someone should update the docs to mention that...

    Luis Abreu

    Wednesday, April 4, 2012 8:50 AM