abhinav pandey
abhinav pandey

Reputation: 584

Windows phone 8 Bluetooth development

I am creating an app to connect to a remote device. The following line of code is used to find all peers.

  var peers = await PeerFinder.FindAllPeersAsync();

Now I need to declare peers as a class variable(instead of using it locally). Can some body tell me the datatype of peer.

Upvotes: 1

Views: 560

Answers (1)

Amitd
Amitd

Reputation: 4859

According to MSDN it should be

IAsyncOperation <IReadOnlyList<PeerInformation>>  peers;

Upvotes: 1

Related Questions