private void CloseSession() { Logger.WriteToLog(String.Format("Closing session for client with GUID: '{0}'.", _id)); foreach (string path in _monitoredPaths) { _client.Stop(path); } _client.UnRegister(_id); _client.Abort(); }
private void CloseSession() { Logger.WriteToLog(String.Format("Closing session for client with GUID: '{0}'.", _id)); foreach (string path in _monitoredPaths) { _client.Stop(path); } _client.UnRegister(_id); _client.Abort(); }