hMailServer.Administrator.ucBackup.ShowLogFile C# (CSharp) Method

ShowLogFile() private static method

private static ShowLogFile ( ) : void
return void
        private static void ShowLogFile()
        {
            hMailServer.BackupSettings backupSettings = APICreator.Application.Settings.Backup;

            string logFileName = backupSettings.LogFile;

            try
            {
                System.Diagnostics.Process process = new System.Diagnostics.Process();
                process.StartInfo.FileName = logFileName;
                process.StartInfo.UseShellExecute = true;
                process.Start();
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, EnumStrings.hMailServerAdministrator);
            }
        }