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