Esempio n. 1
0
        internal static CurlCode EasyGetInfo(this CurlHandle handle, CurlInfo info, out string value)
        {
            CurlCode result = EasyGetInfo(handle, info, out IntPtr text);

            value = MarshalString.NativeToString(text);
            return(result);
        }
Esempio n. 2
0
 internal static string GetShareError(CurlShareCode code)
 {
     return(MarshalString.NativeToString(ShareStrError(code)));
 }
Esempio n. 3
0
 internal static string GetErrorMessage(CurlCode code)
 {
     return(MarshalString.NativeToString(EasyStrError(code)));
 }
Esempio n. 4
0
 internal static string GetVersion()
 {
     return(MarshalString.NativeToString(GetCurlVersion()));
 }