CurlSharp.NativeMethods.curl_slist_free_all C# (CSharp) 메소드

curl_slist_free_all() 개인적인 메소드

private curl_slist_free_all ( IntPtr pList ) : CurlShareCode
pList System.IntPtr
리턴 CurlShareCode
		internal static extern CurlShareCode curl_slist_free_all (IntPtr pList);

Usage Example

예제 #1
0
        private void Dispose(bool disposing)
        {
            lock (this)
            {
                if (Handle != IntPtr.Zero)
                {
#if USE_LIBCURLSHIM
                    NativeMethods.curl_shim_free_slist(Handle);
#else
                    NativeMethods.curl_slist_free_all(Handle);
#endif
                    Handle = IntPtr.Zero;
                }
            }
        }