/// <summary> /// Remove an Easy object. /// </summary> /// <param name="easy"> /// <see cref="Easy"/> object to remove. /// </param> /// <returns> /// A <see cref="CURLMcode"/>, hopefully <c>CURLMcode.CURLM_OK</c> /// </returns> /// <exception cref="System.NullReferenceException"> /// This is thrown if the native <c>Multi</c> handle wasn't /// created successfully. /// </exception> public CURLMcode RemoveHandle(Easy easy) { EnsureHandle(); IntPtr p = easy.GetHandle(); m_htEasy.Remove(p); return(External.curl_multi_remove_handle(m_pMulti, easy.GetHandle())); }