Пример #1
0
 /// <summary>
 /// Return a String description of an error code.
 /// </summary>
 /// <param name="errorNum">
 /// The <see cref="CURLSHcode"/> for which to obtain the error
 /// string description.
 /// </param>
 /// <returns>The string description.</returns>
 public String StrError(CURLSHcode errorNum)
 {
     return(Marshal.PtrToStringAnsi(External.curl_share_strerror(
                                        errorNum)));
 }