예제 #1
0
        private void CloseAllSessions()
        {
            Console.Clear();
            Console.WriteLine("Trying to close all sessions...");

            try
            {
                _adminManagerClient.CloseAllSessions();
                Console.WriteLine("Success!");
            }
            catch (Exception exp)
            {
                Console.WriteLine(exp);
            }
        }
예제 #2
0
 public async void CloseAllSessions()
 {
     await Task.Run(() => _adminManager.CloseAllSessions());
 }