public static string GetPhaseDescription(IntPtr converter, int phase) { if (Log.IsTraceEnabled) { Log.Trace("T:" + Thread.CurrentThread.Name + " Requesting phase description (wkhtmltopdf_phase_description)"); } return(Marshal.PtrToStringAnsi(PechkinBindings.wkhtmltopdf_phase_description(converter, phase))); }