private void TriggeredConnectionStateChanged(object sender, Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs e) { if (e.State == Windows.Networking.Proximity.TriggeredConnectState.Completed) { WriteMessageText("Connected. You may now send a message.\n"); SendMessage(e.Socket); } }
private void TriggeredConnectionStateChanged( object sender, Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs e) { if (e.State == Windows.Networking.Proximity.TriggeredConnectState.PeerFound) { } if (e.State == Windows.Networking.Proximity.TriggeredConnectState.Completed) { } }