BoxedIce.ServerDensity.Agent.Windows.Forms.MainForm.DownloadUpdates C# (CSharp) Метод

DownloadUpdates() приватный Метод

private DownloadUpdates ( ) : void
Результат void
        private void DownloadUpdates()
        {
            ProcessStartInfo info = new ProcessStartInfo(DownloaderExe);
            info.UseShellExecute = true;
            info.Verb = "runas";
            try
            {
                Process p = new Process();
                p.StartInfo = info;
                p.Start();
                Close();
            }
            catch
            {
                MessageBox.Show("There was an error downloading updates.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }