コード例 #1
0
        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);
        }