device name on network metro apps RRS feed

  • Question

  • I'm trying to get two devices to talk to each other for a multi-user metro apps game with DirectX and need a list of device names on a LAN.  Something like David's phone, David's computer, ..., so I won't have to make the user look up his IP address and then type it in on the other device.  I see that the NetworkInformation class has GetConnectionProfiles, GetHostNames, GetLanIdentifiers, GetEndPointPairs, etc... but I'm still struggling with the whole WinRT and c++ interop sytax and don't won't to waste a whole lot of time on them all just to find out everyone is base solely on ip addresses and you even have to manually sort out ipv4 and ipv6.  It seems like this class should just have a GetLanDeviceNames method or something.  Does anyone know of something similar?

    Thanks in advance!

    Monday, October 29, 2012 3:41 AM