internal string MemberId() { IntPtr strPtr = LibRdKafka.memberid(handle); if (strPtr == null) { return(null); } string memberId = Marshal.PtrToStringAnsi(strPtr); LibRdKafka.mem_free(handle, strPtr); return(memberId); }