/// <summary>
        /// Deletes data associated with specified <paramref name="key"/>.
        /// </summary>
        /// <param name="key">Key identifier of data.</param>
        /// <returns>The removed data if it exists, <see cref="IntPtr.Zero"/> otherwise.</returns>
        /// <exception cref="ObjectDisposedException">Cannot delete connection data, <see cref="BroConnection"/> is disposed.</exception>
        public IntPtr Delete(string key)
        {
            IntPtr connection = m_parent.GetValuePtr();

            if (connection == IntPtr.Zero)
            {
                throw new ObjectDisposedException("Cannot delete connection data, Bro connection is disposed.");
            }

            return(BroApi.bro_conn_data_del(connection, key));
        }