public void Start() { // Install ScpVBus every time application is launched // Must be installed synchronously // Uninstall it on exit (see region below) // scpInstaller.Install(); Status = "Checking for updates"; AppCastUpdater.Start(); Status = "Starting network services"; // Get number of expected mobile device inputs from Default UdpServer.Start(Properties.Settings.Default.LastPort); int port = UdpServer.Port; Properties.Settings.Default.LastPort = port; Properties.Settings.Default.Save(); // publish network service for primary device DnsServer.Publish(port, "Primary"); Status = "Creating virtual devices"; Properties.Settings.Default.FirstInstall = false; Properties.Settings.Default.Save(); try { ForceFirewallWindow(); } catch (Exception e) { log.Error("Unable to open temp TCP socket because: " + e.Message); log.Info("Windows Firewall should prompt on the next startup."); } }