Example #1
0
 public void RenewSession(ClientSettings Settings)
 {
     this.Status = "renewed";
     this.Time   = Settings.MainTimerCount;
     this.Renewals++;
     UpdateServer();
     LogStats.Log(this.ID, "clientrenew");
 }
Example #2
0
        public void StartSession(ClientSettings Settings, bool isAdmin, string type, List <String> Processes)
        {
            this.GetSession();
            this.Status = "unlocked";
            this.Time   = Settings.MainTimerCount;
            UpdateServer();
            foreach (Process proc in Process.GetProcessesByName("IEXPLORE"))
            {
                proc.Kill();
            }

            if (!isAdmin)
            {
                KillProcesses(Processes);
            }
            LogStats.Log(this.ID, type);
        }