public static int GetHttpErrorCode(IntPtr converter) { if (Log.IsTraceEnabled) { Log.Trace("T:" + Thread.CurrentThread.Name + " Requesting http error code (wkhtmltopdf_http_error_code)"); } return(PechkinBindings.wkhtmltopdf_http_error_code(converter)); }