Exemplo n.º 1
0
 public static void SetStatus(Status status)
 {
     if (!IsRunning())
     {
         return;
     }
     using (var communicator = new OfficCommunicatorWrapper())
     {
         communicator.State = status;
     }
 }
Exemplo n.º 2
0
 public static Status GetCurrentStatus()
 {
     if (!IsRunning())
     {
         return(Status.NotInMeeting);
     }
     using (var communicator = new OfficCommunicatorWrapper())
     {
         return(communicator.State);
     }
 }