Beispiel #1
0
        public void UserState()
        {
            var us = OtrApi.otrl_userstate_create();

            Assert.AreNotEqual(us, IntPtr.Zero);
            OtrApi.otrl_userstate_free(us);
        }
Beispiel #2
0
        public void Dispose()
        {
            var handle = Handle;

            if (handle == IntPtr.Zero)
            {
                return;
            }
            OtrApi.otrl_userstate_free(handle);
        }