/// <summary> /// Notifies peering Bro to send events. /// </summary> /// <exception cref="ObjectDisposedException">Cannot request events, <see cref="BroConnection"/> is disposed.</exception> public void RequestEvents() { if (m_connectionPtr.IsInvalid()) { throw new ObjectDisposedException("Cannot request events, Bro connection is disposed."); } BroApi.bro_event_registry_request(m_connectionPtr); }