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