Exemplo n.º 1
0
        public void UserState()
        {
            var us = OtrApi.otrl_userstate_create();

            Assert.AreNotEqual(us, IntPtr.Zero);
            OtrApi.otrl_userstate_free(us);
        }
Exemplo n.º 2
0
        public UserState()
        {
            Handle = OtrApi.otrl_userstate_create();

            GCHandle = GCHandle.Alloc(this);
        }
Exemplo n.º 3
0
 public UserState()
 {
     Handle = OtrApi.otrl_userstate_create();
 }