/// <summary> /// Sets the tray icon hover tool tip text /// </summary> /// <param name="port">The port number we're listening on</param> private void SetTrayIconText(int port) { string[] addresses = (from address in WebServiceHost.GetListenerAddressList() select address + ":" + port.ToString()).ToArray(); myNotifyIcon.Text = string.Format(CultureInfo.CurrentCulture, "Windows Phone Sync listening on {0}", string.Join(", ", addresses)); }