private static string GetErrorString(ErrorCode code) { IntPtr str = avahi_strerror (code); return Utility.PtrToString (str); }