private void Update_Click(object sender, RoutedEventArgs e)
        {
            UpdateAvailableForm updateAvailableForm = new UpdateAvailableForm(null);;

            //Check for Update XML on Server
            if (ToolUpdateXml.ExistsOnServer(new Uri(updateServerUrl)))
            {
                ToolUpdateXml[] updateInfo = ToolUpdateXml.Parse(new Uri(updateServerUrl));

                updateAvailableForm.updateInfo = updateInfo[0];


                if (!updateInfo[0].IsNewerThan(ApplicationAssembly.GetName().Version))
                {
                    updateAvailableForm.updateButton.IsEnabled = false;
                    updateAvailableForm.label.Content          = "Software is up to date!";
                    updateAvailableForm.Topmost = true;
                }
            }
            else
            {
                updateAvailableForm.updateButton.IsEnabled = false;
                updateAvailableForm.label.Content          = "No internet connection!";
            }
            updateAvailableForm.UpdateDescription();
            updateAvailableForm.Show();
        }
        public MainWindow()
        {
            InitializeComponent();
            string mainFrameTitle = GetOSInfo();

            Title = Title + " " + mainFrameTitle;
            try
            {
                ToolUpdateXml[] updateInfo = ToolUpdateXml.Parse(new Uri(updateServerUrl));
                if (updateInfo[0].IsNewerThan(ApplicationAssembly.GetName().Version))
                {
                    UpdateAvailableForm updateAvailableForm = new UpdateAvailableForm(updateInfo[0]);
                    updateAvailableForm.Topmost = true;
                    updateAvailableForm.UpdateDescription();
                    updateAvailableForm.Show();
                }
            }
            catch (Exception e) {
                LogWriter.LogWrite(e.Message);
            }
        }