示例#1
0
 /// <summary>
 /// Get a string description of an error code.
 /// </summary>
 /// <param name="code">Error code.</param>
 /// <returns>String description of the error code.</returns>
 public String StrError(CURLcode code)
 {
     return(Marshal.PtrToStringAnsi(
                External.curl_easy_strerror(code)));
 }