SeasideResearch.LibCurlNet.Easy.GetHandle C# (CSharp) Method

GetHandle() private method

private GetHandle ( ) : IntPtr
return System.IntPtr
        internal IntPtr GetHandle()
        {
            EnsureHandle(); return m_pCURL;
        }

Usage Example

Esempio n. 1
0
        /// <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()));
        }
All Usage Examples Of SeasideResearch.LibCurlNet.Easy::GetHandle