private void serverButton_Click(object sender, RoutedEventArgs e)
{
// We need a random port number otherwise all beacons will be the same
var b = new Beacon("beaconDemo", (ushort) r.Next(2048, 60000))
{
BeaconData = "Beacon at " + DateTime.Now + " on " + Dns.GetHostName()
};
b.Start();
beacons.Add(b);
}