private void discoveryService1_MoreInformation(DiscoveryService.DiscoveryArguments e) { var c = this.CurrentConfiguration; foreach (var k in e.Configuration) { // for some reason we do not want to talk to ourself if (k.Name != this.NicknameTextbox.Text) c = c.ConcatDistinct(k); } this.CurrentConfiguration = c; }
private void discoveryService1_TimeToCheckForUnknownRecipients(DiscoveryService.DiscoveryArguments e) { e.Name = textBox5.Text; e.Configuration = this.CurrentConfiguration; }