internal static extern CurlShareCode curl_slist_free_all (IntPtr pList);
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; } } }