Beispiel #1
0
        internal double GetInfoDouble(Native.Info info)
        {
            CheckDisposed();
            double value;
            var    code = Native.Easy.GetInfo(handle, info, out value);

            if (code != Native.Code.OK)
            {
                throw new CurlException(code);
            }
            return(value);
        }
Beispiel #2
0
        internal IntPtr GetInfoIntPtr(Native.Info info)
        {
            CheckDisposed();
            IntPtr value;
            var    code = Native.Easy.GetInfo(handle, info, out value);

            if (code != Native.Code.OK)
            {
                throw new CurlException(code);
            }
            return(value);
        }