curl_share_strerror() private method

private curl_share_strerror ( CurlShareCode errorCode ) : IntPtr
errorCode CurlShareCode
return System.IntPtr
Example #1
0
 /// <summary>
 ///     Return a String description of an error code.
 /// </summary>
 /// <param name="errorNum">
 ///     The <see cref="CurlShareCode" /> for which to obtain the error
 ///     string description.
 /// </param>
 /// <returns>The string description.</returns>
 public String StrError(CurlShareCode errorNum)
 {
     return(Marshal.PtrToStringAnsi(NativeMethods.curl_share_strerror(errorNum)));
 }