public static String GetInterestPointPublicID(int ip_internal_id) { IntPtr ipFoundPtr = Marshal.AllocHGlobal(512); int size = PikkartARCore.GetInterestPointPublicID(ip_internal_id, ipFoundPtr); String ipFound = Marshal.PtrToStringAnsi(ipFoundPtr, size - 1); return(ipFound); }